diff --git a/ContentControls/ContentControls.sln b/ContentControls/ContentControls.sln
deleted file mode 100644
index e3545a82d..000000000
--- a/ContentControls/ContentControls.sln
+++ /dev/null
@@ -1,22 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ContentControls", "ContentControls\ContentControls.csproj", "{BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.Build.0 = Release|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.Deploy.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/ContentControls/ContentControls/Assets/AboutAssets.txt b/ContentControls/ContentControls/Assets/AboutAssets.txt
deleted file mode 100644
index ee3988629..000000000
--- a/ContentControls/ContentControls/Assets/AboutAssets.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Any raw assets you want to be deployed with your application can be placed in
-this directory (and child directories) and given a Build Action of "AndroidAsset".
-
-These files will be deployed with you package and will be accessible using Android's
-AssetManager, like this:
-
-public class ReadAsset : Activity
-{
- protected override void OnCreate (Bundle bundle)
- {
- base.OnCreate (bundle);
-
- InputStream input = Assets.Open ("my_asset.txt");
- }
-}
-
-Additionally, some Android functions will automatically load asset files:
-
-Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Assets/Content/Home.html b/ContentControls/ContentControls/Assets/Content/Home.html
deleted file mode 100644
index fe7723101..000000000
--- a/ContentControls/ContentControls/Assets/Content/Home.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
- My Sample Content
-
-
-
- My Android Content
-
-
-
-
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Assets/Content/Images/Image_Seedlings.png b/ContentControls/ContentControls/Assets/Content/Images/Image_Seedlings.png
deleted file mode 100644
index a6eacb8d9..000000000
Binary files a/ContentControls/ContentControls/Assets/Content/Images/Image_Seedlings.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Assets/Content/InteractivePages/Home.html b/ContentControls/ContentControls/Assets/Content/InteractivePages/Home.html
deleted file mode 100644
index af32fb369..000000000
--- a/ContentControls/ContentControls/Assets/Content/InteractivePages/Home.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
- My Sample Content
-
-
-
-
- My Android Interop Content
-
-
-
-
-
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Assets/Content/InteractivePages/SubPage1.html b/ContentControls/ContentControls/Assets/Content/InteractivePages/SubPage1.html
deleted file mode 100644
index 1182be032..000000000
--- a/ContentControls/ContentControls/Assets/Content/InteractivePages/SubPage1.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
- Sub Page 1!
- Wow, how cool is it that we're displaying HTML
- content on Android? Pretty cool, it means
- we could put all kinds of content on here, like
- books, papers, etc. :)
-
-
- << back
-
-
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Assets/Content/Style/main.css b/ContentControls/ContentControls/Assets/Content/Style/main.css
deleted file mode 100644
index adf1bdf88..000000000
--- a/ContentControls/ContentControls/Assets/Content/Style/main.css
+++ /dev/null
@@ -1,25 +0,0 @@
-body
-{
- background-color: #636363;
- font-family: "HelveticaNeue-Light", "Helvetica Neue Light",
- "Helvetica Neue", sans-serif;
- font-weight: 100;
- color: white;
-}
-
-h1
-{
- font-size: 30pt;
- text-align: center;
- font-weight: 100;
-}
-
-a:link, a:visited
-{
- color: white;
- text-decoration: none;
-}
-li
-{
- color: white;
-}
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Assets/Content/SubPage1.html b/ContentControls/ContentControls/Assets/Content/SubPage1.html
deleted file mode 100644
index 1182be032..000000000
--- a/ContentControls/ContentControls/Assets/Content/SubPage1.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
- Sub Page 1!
- Wow, how cool is it that we're displaying HTML
- content on Android? Pretty cool, it means
- we could put all kinds of content on here, like
- books, papers, etc. :)
-
-
- << back
-
-
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Assets/WordList.txt b/ContentControls/ContentControls/Assets/WordList.txt
deleted file mode 100644
index 0aa212580..000000000
--- a/ContentControls/ContentControls/Assets/WordList.txt
+++ /dev/null
@@ -1,852 +0,0 @@
-a
-able
-about
-account
-acid
-across
-act
-addition
-adjustment
-advertisement
-after
-again
-against
-agreement
-air
-all
-almost
-among
-amount
-amusement
-and
-angle
-angry
-animal
-answer
-ant
-any
-apparatus
-apple
-approval
-arch
-argument
-arm
-army
-art
-as
-at
-attack
-attempt
-attention
-attraction
-authority
-automatic
-awake
-baby
-back
-bad
-bag
-balance
-ball
-band
-base
-basin
-basket
-bath
-be
-beautiful
-because
-bed
-bee
-before
-behaviour
-belief
-bell
-bent
-berry
-between
-bird
-birth
-bit
-bite
-bitter
-black
-blade
-blood
-blow
-blue
-board
-boat
-body
-boiling
-bone
-book
-boot
-bottle
-box
-boy
-brain
-brake
-branch
-brass
-bread
-breath
-brick
-bridge
-bright
-broken
-brother
-brown
-brush
-bucket
-building
-bulb
-burn
-burst
-business
-but
-butter
-button
-by
-cake
-camera
-canvas
-card
-care
-carriage
-cart
-cat
-cause
-certain
-chain
-chalk
-chance
-change
-cheap
-cheese
-chemical
-chest
-chief
-chin
-church
-circle
-clean
-clear
-clock
-cloth
-cloud
-coal
-coat
-cold
-collar
-colour
-comb
-come
-comfort
-committee
-common
-company
-comparison
-competition
-complete
-complex
-condition
-connection
-conscious
-control
-cook
-copper
-copy
-cord
-cork
-cotton
-cough
-country
-cover
-cow
-crack
-credit
-crime
-cruel
-crush
-cry
-cup
-cup
-current
-curtain
-curve
-cushion
-damage
-danger
-dark
-daughter
-day
-dead
-dear
-death
-debt
-decision
-deep
-degree
-delicate
-dependent
-design
-desire
-destruction
-detail
-development
-different
-digestion
-direction
-dirty
-discovery
-discussion
-disease
-disgust
-distance
-distribution
-division
-do
-dog
-door
-doubt
-down
-drain
-drawer
-dress
-drink
-driving
-drop
-dry
-dust
-ear
-early
-earth
-east
-edge
-education
-effect
-egg
-elastic
-electric
-end
-engine
-enough
-equal
-error
-even
-event
-ever
-every
-example
-exchange
-existence
-expansion
-experience
-expert
-eye
-face
-fact
-fall
-false
-family
-far
-farm
-fat
-father
-fear
-feather
-feeble
-feeling
-female
-fertile
-fiction
-field
-fight
-finger
-fire
-first
-fish
-fixed
-flag
-flame
-flat
-flight
-floor
-flower
-fly
-fold
-food
-foolish
-foot
-for
-force
-fork
-form
-forward
-fowl
-frame
-free
-frequent
-friend
-from
-front
-fruit
-full
-future
-garden
-general
-get
-girl
-give
-glass
-glove
-go
-goat
-gold
-good
-government
-grain
-grass
-great
-green
-grey
-grip
-group
-growth
-guide
-gun
-hair
-hammer
-hand
-hanging
-happy
-harbour
-hard
-harmony
-hat
-hate
-have
-he
-head
-healthy
-hear
-hearing
-heart
-heat
-help
-high
-history
-hole
-hollow
-hook
-hope
-horn
-horse
-hospital
-hour
-house
-how
-humour
-I
-ice
-idea
-if
-ill
-important
-impulse
-in
-increase
-industry
-ink
-insect
-instrument
-insurance
-interest
-invention
-iron
-island
-jelly
-jewel
-join
-journey
-judge
-jump
-keep
-kettle
-key
-kick
-kind
-kiss
-knee
-knife
-knot
-knowledge
-land
-language
-last
-late
-laugh
-law
-lead
-leaf
-learning
-leather
-left
-leg
-let
-letter
-level
-library
-lift
-light
-like
-limit
-line
-linen
-lip
-liquid
-list
-little
-living
-lock
-long
-look
-loose
-loss
-loud
-love
-low
-machine
-make
-male
-man
-manager
-map
-mark
-market
-married
-mass
-match
-material
-may
-meal
-measure
-meat
-medical
-meeting
-memory
-metal
-middle
-military
-milk
-mind
-mine
-minute
-mist
-mixed
-money
-monkey
-month
-moon
-morning
-mother
-motion
-mountain
-mouth
-move
-much
-muscle
-music
-nail
-name
-narrow
-nation
-natural
-near
-necessary
-neck
-need
-needle
-nerve
-net
-new
-news
-night
-no
-noise
-normal
-north
-nose
-not
-note
-now
-number
-nut
-observation
-of
-off
-offer
-office
-oil
-old
-on
-only
-open
-operation
-opinion
-opposite
-or
-orange
-order
-organization
-ornament
-other
-out
-oven
-over
-owner
-page
-pain
-paint
-paper
-parallel
-parcel
-part
-past
-paste
-payment
-peace
-pen
-pencil
-person
-physical
-picture
-pig
-pin
-pipe
-place
-plane
-plant
-plate
-play
-please
-pleasure
-plough
-pocket
-point
-poison
-polish
-political
-poor
-porter
-position
-possible
-pot
-potato
-powder
-power
-present
-price
-print
-prison
-private
-probable
-process
-produce
-profit
-property
-prose
-protest
-public
-pull
-pump
-punishment
-purpose
-push
-put
-quality
-question
-quick
-quiet
-quite
-rail
-rain
-range
-rat
-rate
-ray
-reaction
-reading
-ready
-reason
-receipt
-record
-red
-regret
-regular
-relation
-religion
-representative
-request
-respect
-responsible
-rest
-reward
-rhythm
-rice
-right
-ring
-river
-road
-rod
-roll
-roof
-room
-root
-rough
-round
-rub
-rule
-run
-sad
-safe
-sail
-salt
-same
-sand
-say
-scale
-school
-science
-scissors
-screw
-sea
-seat
-second
-secret
-secretary
-see
-seed
-seem
-selection
-self
-send
-sense
-separate
-serious
-servant
-sex
-shade
-shake
-shame
-sharp
-sheep
-shelf
-ship
-shirt
-shock
-shoe
-short
-shut
-side
-sign
-silk
-silver
-simple
-sister
-size
-skin
-
-skirt
-sky
-sleep
-slip
-slope
-slow
-small
-smash
-smell
-smile
-smoke
-smooth
-snake
-sneeze
-snow
-so
-soap
-society
-sock
-soft
-solid
-some
-
-son
-song
-sort
-sound
-soup
-south
-space
-spade
-special
-sponge
-spoon
-spring
-square
-stage
-stamp
-star
-start
-statement
-station
-steam
-steel
-stem
-step
-stick
-sticky
-stiff
-still
-stitch
-stocking
-stomach
-stone
-stop
-store
-story
-straight
-strange
-street
-stretch
-strong
-structure
-substance
-such
-sudden
-sugar
-suggestion
-summer
-sun
-support
-surprise
-sweet
-swim
-system
-table
-tail
-take
-talk
-tall
-taste
-tax
-teaching
-tendency
-test
-than
-that
-the
-then
-theory
-there
-thick
-thin
-thing
-this
-thought
-thread
-throat
-through
-through
-thumb
-thunder
-ticket
-tight
-till
-time
-tin
-tired
-to
-toe
-together
-tomorrow
-tongue
-tooth
-top
-touch
-town
-trade
-train
-transport
-tray
-tree
-trick
-trouble
-trousers
-true
-turn
-twist
-umbrella
-under
-unit
-up
-use
-value
-verse
-very
-vessel
-view
-violent
-voice
-waiting
-walk
-wall
-war
-warm
-wash
-waste
-watch
-water
-wave
-wax
-way
-weather
-week
-weight
-well
-west
-wet
-wheel
-when
-where
-while
-whip
-whistle
-white
-who
-why
-wide
-will
-wind
-window
-wine
-wing
-winter
-wire
-wise
-with
-woman
-wood
-wool
-word
-work
-worm
-wound
-writing
-wrong
-year
-yellow
-yes
-yesterday
-you
-young
\ No newline at end of file
diff --git a/ContentControls/ContentControls/ContentControls.csproj b/ContentControls/ContentControls/ContentControls.csproj
deleted file mode 100644
index 344bac923..000000000
--- a/ContentControls/ContentControls/ContentControls.csproj
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.30703
- 2.0
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}
- {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- Library
- Properties
- ContentControls
- ContentControls
- 512
- true
- Resources\Resource.Designer.cs
- Off
- Properties\AndroidManifest.xml
- False
- armeabi
-
-
-
-
- True
- full
- False
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- None
-
-
- pdbonly
- True
- bin\Release\
- TRACE
- prompt
- 4
- False
- SdkOnly
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Home.cs b/ContentControls/ContentControls/Home.cs
deleted file mode 100644
index 25afd7f32..000000000
--- a/ContentControls/ContentControls/Home.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace ContentControls {
- [Activity(Label = "ContentControls", MainLauncher = true, Icon = "@drawable/icon")]
- public class Home : ListActivity {
-
- Home_Adapter adapter;
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
- adapter = new Home_Adapter(this);
- ListAdapter = adapter;
- }
- protected override void OnListItemClick(ListView l, View v, int position, long id)
- {
- var s = adapter[position];
- var sample = new Intent(this, s.Screen);
- if (s.Name == "Activity Fade") {
- StartActivity(sample);
- OverridePendingTransition(Resource.Animation.fade, Resource.Animation.hold);
- } else if (s.Name == "Activity Zoom") {
- StartActivity(sample);
- OverridePendingTransition(Resource.Animation.zoom_enter, Resource.Animation.zoom_exit);
- } else {
-
- StartActivity(sample);
- }
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Home_Adapter.cs b/ContentControls/ContentControls/Home_Adapter.cs
deleted file mode 100644
index a1e6ce044..000000000
--- a/ContentControls/ContentControls/Home_Adapter.cs
+++ /dev/null
@@ -1,147 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-
-namespace ContentControls {
- public class Sample {
- public Sample(string name, Type screen)
- {
- Name = name;
- Screen = screen;
- }
- public string Name;
- public Type Screen;
- }
-
- class Header {
- public string Name;
- public int SectionIndex;
- }
-
- public class Home_Adapter : BaseAdapter {
-
- static Dictionary> samples = new Dictionary>() {
- { "Browsers", new List() {
- new Sample ("WebView", typeof(WebViewScreen)),
- new Sample ("WebView Browser", typeof(WebViewBrowserScreen)),
- new Sample ("Local Content", typeof(WebViewLocalContentScreen)),
- new Sample ("Generated Content", typeof(WebViewGeneratedContentScreen)),
- new Sample ("Javascript interop", typeof(WebViewInteropScreen)),
- } },
- { "Maps", new List() {
- new Sample ("Basic MapView", typeof(MapViewScreen)),
- new Sample ("MapView with Annotation", typeof(MapViewAnnotationScreen)),
-// new Sample ("MapView with Current Location", typeof(MapViewCurrentLocationScreen)), // can't test
- new Sample ("MapView with Overlay", typeof(MapViewOverlayScreen)),
- } },
- { "Search", new List() {
- new Sample ("AutoCompleteTextView", typeof(AutoCompleteTextViewScreen)),
- new Sample ("AutoCompleteTextView Custom", typeof(AutoCompleteCustomAdapterScreen))
-
- } },
- { "Nav", new List() {
- new Sample ("Activity Fade", typeof(ActivityFadeScreen)),
- new Sample ("Activity Zoom", typeof(ActivityZoomScreen)),
- new Sample ("Theme", typeof(LightThemeScreen)),
- } },
- };
-
- const int TypeSectionHeader = 0;
- const int TypeSectionSample = 1;
-
- readonly Activity context;
- readonly IList rows = new List();
-
- readonly ArrayAdapter headers;
- readonly Dictionary sections = new Dictionary();
-
- public Home_Adapter(Activity context)
- : base()
- {
- this.context = context;
- headers = new ArrayAdapter(context, Resource.Layout.HomeSectionHeader, Resource.Id.Text1);
-
- rows = new List();
- foreach (var section in samples.Keys) {
- headers.Add(section);
- sections.Add(section, new ArrayAdapter(context, Android.Resource.Layout.SimpleListItem1, samples[section]));
- rows.Add(new Header { Name = section, SectionIndex = sections.Count - 1 });
- foreach (var session in samples[section]) {
- rows.Add(session);
- }
- }
- }
- public Sample GetSample (int position) {
- return (Sample)rows[position];
- }
- public override Sample this[int position]
- {
- get
- { // this'll break if called with a 'header' position
- return (Sample)rows[position];
- }
- }
-
- public override int ViewTypeCount
- {
- get
- {
- return 1 + sections.Values.Sum(adapter => adapter.ViewTypeCount);
- }
- }
-
- public override int GetItemViewType(int position)
- {
- return rows[position] is Header
- ? TypeSectionHeader
- : TypeSectionSample;
- }
-
- public override long GetItemId(int position)
- {
- return position;
- }
-
- public override int Count
- {
- get { return rows.Count; }
- }
- public override bool AreAllItemsEnabled()
- {
- return true;
- }
- public override bool IsEnabled(int position)
- {
- return !(rows[position] is Header);
- }
-
- ///
- /// Grouped list: view could be a 'section heading' or a 'data row'
- ///
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- // Get our object for this position
- var item = this.rows[position];
-
- View view;
-
- if (item is Header) {
- view = headers.GetView(((Header)item).SectionIndex, convertView, parent);
- view.Clickable = false;
- view.LongClickable = false;
- return view;
- }
-
- int i = position - 1;
- while (i > 0 && rows[i] is Sample)
- i--;
- Header h = (Header)rows[i];
- view = sections[h.Name].GetView(position - i - 1, convertView, parent);
- view.FindViewById(Android.Resource.Id.Text1).Text = ((Sample)item).Name;
- return view;
- }
- }
-}
diff --git a/ContentControls/ContentControls/Properties/AndroidManifest.xml b/ContentControls/ContentControls/Properties/AndroidManifest.xml
deleted file mode 100644
index dd5a2a415..000000000
--- a/ContentControls/ContentControls/Properties/AndroidManifest.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Properties/AssemblyInfo.cs b/ContentControls/ContentControls/Properties/AssemblyInfo.cs
deleted file mode 100644
index 27f79993e..000000000
--- a/ContentControls/ContentControls/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using Android.App;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("TablesAndCellStyles")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TablesAndCellStyles")]
-[assembly: AssemblyCopyright("Copyright © 2012")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("a557ce8c-9dbe-4b93-8fc4-95ffc126cf14")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-
-// Add some common permissions, these can be removed if not needed
-[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
-[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
diff --git a/ContentControls/ContentControls/Resources/AboutResources.txt b/ContentControls/ContentControls/Resources/AboutResources.txt
deleted file mode 100644
index b0fc999bd..000000000
--- a/ContentControls/ContentControls/Resources/AboutResources.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Images, layout descriptions, binary blobs and string dictionaries can be included
-in your application as resource files. Various Android APIs are designed to
-operate on the resource IDs instead of dealing with images, strings or binary blobs
-directly.
-
-For example, a sample Android app that contains a user interface layout (Main.xml),
-an internationalization string table (Strings.xml) and some icons (drawable/Icon.png)
-would keep its resources in the "Resources" directory of the application:
-
-Resources/
- Drawable/
- Icon.png
-
- Layout/
- Main.axml
-
- Values/
- Strings.xml
-
-In order to get the build system to recognize Android resources, the build action should be set
-to "AndroidResource". The native Android APIs do not operate directly with filenames, but
-instead operate on resource IDs. When you compile an Android application that uses resources,
-the build system will package the resources for distribution and generate a class called
-"Resource" that contains the tokens for each one of the resources included. For example,
-for the above Resources layout, this is what the Resource class would expose:
-
-public class Resource {
- public class Drawable {
- public const int Icon = 0x123;
- }
-
- public class Layout {
- public const int Main = 0x456;
- }
-
- public class String {
- public const int FirstString = 0xabc;
- public const int SecondString = 0xbcd;
- }
-}
-
-You would then use Resource.Drawable.Icon to reference the Drawable/Icon.png file, or
-Resource.Layout.Main to reference the Layout/Main.axml file, or Resource.String.FirstString
-to reference the first string in the dictionary file Values/Strings.xml.
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Resources/Anim/fade.xml b/ContentControls/ContentControls/Resources/Anim/fade.xml
deleted file mode 100644
index 617c5f253..000000000
--- a/ContentControls/ContentControls/Resources/Anim/fade.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Anim/hold.xml b/ContentControls/ContentControls/Resources/Anim/hold.xml
deleted file mode 100644
index 65fbacfc6..000000000
--- a/ContentControls/ContentControls/Resources/Anim/hold.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Anim/zoom_enter.xml b/ContentControls/ContentControls/Resources/Anim/zoom_enter.xml
deleted file mode 100644
index 7c29852a8..000000000
--- a/ContentControls/ContentControls/Resources/Anim/zoom_enter.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Anim/zoom_exit.xml b/ContentControls/ContentControls/Resources/Anim/zoom_exit.xml
deleted file mode 100644
index 29dfe99a6..000000000
--- a/ContentControls/ContentControls/Resources/Anim/zoom_exit.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Drawable/Beach.png b/ContentControls/ContentControls/Resources/Drawable/Beach.png
deleted file mode 100644
index 26f74378c..000000000
Binary files a/ContentControls/ContentControls/Resources/Drawable/Beach.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/Drawable/Plants.png b/ContentControls/ContentControls/Resources/Drawable/Plants.png
deleted file mode 100644
index acc5b54e9..000000000
Binary files a/ContentControls/ContentControls/Resources/Drawable/Plants.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/Drawable/Seeds.png b/ContentControls/ContentControls/Resources/Drawable/Seeds.png
deleted file mode 100644
index 43c2dc0da..000000000
Binary files a/ContentControls/ContentControls/Resources/Drawable/Seeds.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/Drawable/Shanghai.png b/ContentControls/ContentControls/Resources/Drawable/Shanghai.png
deleted file mode 100644
index c27e8f5c9..000000000
Binary files a/ContentControls/ContentControls/Resources/Drawable/Shanghai.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/Drawable/map_pin.png b/ContentControls/ContentControls/Resources/Drawable/map_pin.png
deleted file mode 100644
index 9f0062d74..000000000
Binary files a/ContentControls/ContentControls/Resources/Drawable/map_pin.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/Layout/AutoCompleteTextView.axml b/ContentControls/ContentControls/Resources/Layout/AutoCompleteTextView.axml
deleted file mode 100644
index 328d0a3ae..000000000
--- a/ContentControls/ContentControls/Resources/Layout/AutoCompleteTextView.axml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Layout/Home.axml b/ContentControls/ContentControls/Resources/Layout/Home.axml
deleted file mode 100644
index 16cc8c798..000000000
--- a/ContentControls/ContentControls/Resources/Layout/Home.axml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Layout/HomeSectionHeader.axml b/ContentControls/ContentControls/Resources/Layout/HomeSectionHeader.axml
deleted file mode 100644
index 87d7a028f..000000000
--- a/ContentControls/ContentControls/Resources/Layout/HomeSectionHeader.axml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Layout/LightTheme.axml b/ContentControls/ContentControls/Resources/Layout/LightTheme.axml
deleted file mode 100644
index b2cec752d..000000000
--- a/ContentControls/ContentControls/Resources/Layout/LightTheme.axml
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Layout/MapView.axml b/ContentControls/ContentControls/Resources/Layout/MapView.axml
deleted file mode 100644
index 2830bb661..000000000
--- a/ContentControls/ContentControls/Resources/Layout/MapView.axml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Resources/Layout/WebView.axml b/ContentControls/ContentControls/Resources/Layout/WebView.axml
deleted file mode 100644
index 4c82440c6..000000000
--- a/ContentControls/ContentControls/Resources/Layout/WebView.axml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Layout/WebViewBrowser.axml b/ContentControls/ContentControls/Resources/Layout/WebViewBrowser.axml
deleted file mode 100644
index 965d1faf0..000000000
--- a/ContentControls/ContentControls/Resources/Layout/WebViewBrowser.axml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Layout/WebViewInterop.axml b/ContentControls/ContentControls/Resources/Layout/WebViewInterop.axml
deleted file mode 100644
index 5dcd13a66..000000000
--- a/ContentControls/ContentControls/Resources/Layout/WebViewInterop.axml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Values/Colors.xml b/ContentControls/ContentControls/Resources/Values/Colors.xml
deleted file mode 100644
index 2531cb234..000000000
--- a/ContentControls/ContentControls/Resources/Values/Colors.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- #00000000
- #000000
- #bbbbbb
- #333333
- #ffffff
-
- #FFD800
-
- #ff0000
-
- #2A3748
-
-
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Resources/Values/LightThemeStrings.xml b/ContentControls/ContentControls/Resources/Values/LightThemeStrings.xml
deleted file mode 100644
index db22910e4..000000000
--- a/ContentControls/ContentControls/Resources/Values/LightThemeStrings.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
- Save
- Checkbox 1
- Checkbox 2
- RadioButton 1
- RadioButton 2
- Star
-
-
-
- textColorPrimary
- textColorSecondary
- textColorTertiary
- listSeparatorTextViewStyle
-
-
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Resources/Values/PrivateStrings.xml b/ContentControls/ContentControls/Resources/Values/PrivateStrings.xml
deleted file mode 100644
index 9603e4884..000000000
--- a/ContentControls/ContentControls/Resources/Values/PrivateStrings.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
- apisamples
-
-
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Values/PrivateStringsTemplate.xml b/ContentControls/ContentControls/Resources/Values/PrivateStringsTemplate.xml
deleted file mode 100644
index ed50856c0..000000000
--- a/ContentControls/ContentControls/Resources/Values/PrivateStringsTemplate.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
diff --git a/ContentControls/ContentControls/Resources/Values/Strings.xml b/ContentControls/ContentControls/Resources/Values/Strings.xml
deleted file mode 100644
index f466582e9..000000000
--- a/ContentControls/ContentControls/Resources/Values/Strings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- ContentControls
-
diff --git a/ContentControls/ContentControls/Resources/drawable-hdpi/icon.png b/ContentControls/ContentControls/Resources/drawable-hdpi/icon.png
deleted file mode 100755
index 2e6ef769f..000000000
Binary files a/ContentControls/ContentControls/Resources/drawable-hdpi/icon.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/drawable-ldpi/icon.png b/ContentControls/ContentControls/Resources/drawable-ldpi/icon.png
deleted file mode 100755
index 183f3095e..000000000
Binary files a/ContentControls/ContentControls/Resources/drawable-ldpi/icon.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/drawable-mdpi/icon.png b/ContentControls/ContentControls/Resources/drawable-mdpi/icon.png
deleted file mode 100755
index edefb8b57..000000000
Binary files a/ContentControls/ContentControls/Resources/drawable-mdpi/icon.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/drawable-xhdpi/icon.png b/ContentControls/ContentControls/Resources/drawable-xhdpi/icon.png
deleted file mode 100755
index de4bbc0d9..000000000
Binary files a/ContentControls/ContentControls/Resources/drawable-xhdpi/icon.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Resources/drawable-xxhdpi/icon.png b/ContentControls/ContentControls/Resources/drawable-xxhdpi/icon.png
deleted file mode 100755
index 5e5182b38..000000000
Binary files a/ContentControls/ContentControls/Resources/drawable-xxhdpi/icon.png and /dev/null differ
diff --git a/ContentControls/ContentControls/Screens/Maps/MapViewAnnotationScreen.cs b/ContentControls/ContentControls/Screens/Maps/MapViewAnnotationScreen.cs
deleted file mode 100644
index 681ee2df5..000000000
--- a/ContentControls/ContentControls/Screens/Maps/MapViewAnnotationScreen.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.GoogleMaps; // Added this reference to project manually - Maps isn't "built in"
-
-namespace ContentControls {
-
- [Activity(Label = "MapViewAnnotation")]
- public class MapViewAnnotationScreen : MapActivity { // NOTE: subclasses MapActivity (and implement IsRouteDisplayed)
- MapView map;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.MapView);
-
- map = FindViewById(Resource.Id.Map);
-
- map.Clickable = true;
- map.Traffic = false;
- map.Satellite = true;
-
- map.SetBuiltInZoomControls(true);
- map.Controller.SetZoom(15);
- map.Controller.SetCenter(new GeoPoint((int)(34.120 * 1e6), (int)(-118.188 * 1e6))); // Los Angeles
-
- AddPinOverlay(map);
- }
-
- // REQUIRED for pin
- void AddPinOverlay(MapView map)
- {
- var pin = Resources.GetDrawable(Resource.Drawable.map_pin);
- var pinOverlay = new MapPinOverlay(pin);
- map.Overlays.Add(pinOverlay);
- }
-
- // REQUIRED by MapActivity
- protected override bool IsRouteDisplayed
- {
- get { return false; }
- }
-
- public override bool OnCreateOptionsMenu(IMenu menu)
- {
- menu.Add("Satellite");
- menu.Add("Road");
- return true;
- }
-
- public override bool OnOptionsItemSelected(IMenuItem item)
- {
- switch (item.TitleFormatted.ToString()) {
- case "Road":
- map.Satellite = false; break;
- default:
- map.Satellite = true; break;
- }
- return base.OnOptionsItemSelected(item);
- }
- }
-}
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Screens/Maps/MapViewAnnotation_PinOverlay.cs b/ContentControls/ContentControls/Screens/Maps/MapViewAnnotation_PinOverlay.cs
deleted file mode 100644
index 6470de701..000000000
--- a/ContentControls/ContentControls/Screens/Maps/MapViewAnnotation_PinOverlay.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Runtime;
-using Android.Views;
-using Android.Widget;
-using Android.GoogleMaps;
-using Android.Graphics.Drawables;
-
-namespace ContentControls {
- class MapPinOverlay : ItemizedOverlay {
- List pins;
-
- public MapPinOverlay(Drawable pin)
- : base(pin)
- {
- // populate some sample location data for the overlay items
- pins = new List{
- new OverlayItem (new GeoPoint((int)(34.120 * 1e6), (int)(-118.188 * 1e6)), null, null), // Los Angeles
- };
-
- BoundCenterBottom(pin);
- Populate();
- }
-
- protected override Java.Lang.Object CreateItem(int i)
- {
- var item = pins[i];
- return item;
- }
-
- public override int Size()
- {
- return pins.Count();
- }
- }
-}
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Screens/Maps/MapViewCurrentLocationScreen.cs b/ContentControls/ContentControls/Screens/Maps/MapViewCurrentLocationScreen.cs
deleted file mode 100644
index 977024586..000000000
--- a/ContentControls/ContentControls/Screens/Maps/MapViewCurrentLocationScreen.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.GoogleMaps;
-using Android.Widget; // Added this reference to project manually - Maps isn't "built in"
-
-namespace ContentControls {
-
- [Activity(Label = "MapViewCurrentLocation")]
- public class MapViewCurrentLocationScreen : MapActivity { // NOTE: subclasses MapActivity (and implement IsRouteDisplayed)
-
- MapView map;
- MyLocationOverlay myLocationOverlay;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.MapView);
-
- map = FindViewById(Resource.Id.Map);
-
- map.Clickable = true;
- map.Traffic = false;
- map.Satellite = true;
-
- map.SetBuiltInZoomControls(true);
- map.Controller.SetZoom(15);
- map.Controller.SetCenter(new GeoPoint((int)(48.857 * 1e6), (int)(2.351 * 1e6))); // Paris
-
- AddMyLocationOverlay(map);
- }
-
- // REQUIRED for 'my location'
- void AddMyLocationOverlay(MapView map)
- {
- myLocationOverlay = new MyLocationOverlay(this, map);
- map.Overlays.Add(myLocationOverlay);
-
- myLocationOverlay.RunOnFirstFix(() => {
- map.Controller.AnimateTo(myLocationOverlay.MyLocation);
-
- RunOnUiThread(() => {
- var toast = Toast.MakeText(this, "Located", ToastLength.Short);
- toast.Show();
- });
- });
- }
- protected override void OnResume()
- {
- base.OnResume();
- myLocationOverlay.EnableMyLocation();
- }
- protected override void OnPause()
- {
- base.OnPause();
- myLocationOverlay.DisableMyLocation();
- }
-
- // REQUIRED by MapActivity
- protected override bool IsRouteDisplayed
- {
- get { return false; }
- }
-
-
- public override bool OnCreateOptionsMenu(IMenu menu)
- {
- menu.Add("Satellite");
- menu.Add("Road");
- return true;
- }
-
- public override bool OnOptionsItemSelected(IMenuItem item)
- {
- switch (item.TitleFormatted.ToString()) {
- case "Road":
- map.Satellite = false; break;
- default:
- map.Satellite = true; break;
- }
- return base.OnOptionsItemSelected(item);
- }
- }
-}
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Screens/Maps/MapViewOverlayScreen.cs b/ContentControls/ContentControls/Screens/Maps/MapViewOverlayScreen.cs
deleted file mode 100644
index 36bfb4f46..000000000
--- a/ContentControls/ContentControls/Screens/Maps/MapViewOverlayScreen.cs
+++ /dev/null
@@ -1,84 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.GoogleMaps;
-using Android.Graphics; // Added this reference to project manually - Maps isn't "built in"
-
-namespace ContentControls {
-
- [Activity(Label = "MapViewOverlay")]
- public class MapViewOverlayScreen : MapActivity { // NOTE: subclasses MapActivity (and implement IsRouteDisplayed)
- MapView map;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.MapView);
-
- map = FindViewById(Resource.Id.Map);
-
- map.Clickable = true;
- map.Traffic = false;
- map.Satellite = true;
-
- map.SetBuiltInZoomControls(true);
- map.Controller.SetZoom(17);
- map.Controller.SetCenter(new GeoPoint((int)(29.97611 * 1e6), (int)(31.132778 * 1e6))); // Pyramids of Giza
-
- AddPinOverlay(map);
- }
-
- // REQUIRED for overlay
- void AddPinOverlay(MapView map)
- {
- var pinOverlay = new CustomMapOverlay();
- map.Overlays.Add(pinOverlay);
- }
-
- // REQUIRED by MapActivity
- protected override bool IsRouteDisplayed
- {
- get { return false; }
- }
-
- public override bool OnCreateOptionsMenu(IMenu menu)
- {
- menu.Add("Satellite");
- menu.Add("Road");
- return true;
- }
-
- public override bool OnOptionsItemSelected(IMenuItem item)
- {
- switch (item.TitleFormatted.ToString()) {
- case "Road":
- map.Satellite = false; break;
- default:
- map.Satellite = true; break;
- }
- return base.OnOptionsItemSelected(item);
- }
-
- class CustomMapOverlay : Overlay {
- public override void Draw(Android.Graphics.Canvas canvas,
- MapView mapView, bool shadow)
- {
- base.Draw(canvas, mapView, shadow);
-
- var paint = new Paint();
- paint.AntiAlias = true;
- paint.Color = Color.Purple;
- paint.Alpha = 127;
-
- var gp = new GeoPoint((int)(29.97611 * 1e6), (int)(31.132778 * 1e6));
- var pt = mapView.Projection.ToPixels(gp, null);
- float distance = mapView.Projection.MetersToEquatorPixels(200);
-
- canvas.DrawCircle(pt.X, pt.Y, distance/2, paint);
-
- }
- }
- }
-}
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Screens/Maps/MapViewScreen.cs b/ContentControls/ContentControls/Screens/Maps/MapViewScreen.cs
deleted file mode 100644
index 780e0a03e..000000000
--- a/ContentControls/ContentControls/Screens/Maps/MapViewScreen.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.GoogleMaps; // NOTE: added this reference to project manually - Maps isn't "built in"
-
-namespace ContentControls {
-
- [Activity(Label = "MapView")]
- public class MapViewScreen : MapActivity { // NOTE: subclasses MapActivity (and implement IsRouteDisplayed)
- MapView map;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.MapView);
-
- map = FindViewById(Resource.Id.Map);
-
- map.Clickable = true;
- map.Traffic = false;
- map.Satellite = true;
-
- map.SetBuiltInZoomControls(true);
- map.Controller.SetZoom(15);
- map.Controller.SetCenter(new GeoPoint((int)(48.857 * 1e6), (int)(2.351 * 1e6))); // Paris
- }
-
- // REQUIRED by MapActivity
- protected override bool IsRouteDisplayed
- {
- get { return false; }
- }
-
-
- public override bool OnCreateOptionsMenu(IMenu menu)
- {
- menu.Add("Satellite");
- menu.Add("Road");
- return true;
- }
-
- public override bool OnOptionsItemSelected(IMenuItem item)
- {
- switch (item.TitleFormatted.ToString()) {
- case "Road":
- map.Satellite = false; break;
- default:
- map.Satellite = true; break;
- }
- return base.OnOptionsItemSelected(item);
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/Nav/ActivityFadeScreen.cs b/ContentControls/ContentControls/Screens/Nav/ActivityFadeScreen.cs
deleted file mode 100644
index 854ca9065..000000000
--- a/ContentControls/ContentControls/Screens/Nav/ActivityFadeScreen.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.Widget;
-
-namespace ContentControls {
-
- [Activity(Label = "ActivityFade")]
- public class ActivityFadeScreen : Activity {
-
- /*
- * To animate the appearance of this activity, see Home.cs
- * (and the animations defined in \Resources\Anim\
- *
- StartActivity(sample);
- OverridePendingTransition(Resource.Animation.fade, Resource.Animation.hold);
- */
-
- string[] planets = {
- "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"
- };
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.LightTheme);
-
- var s1 = FindViewById(Resource.Id.spinner1);
- var adapter = new ArrayAdapter(this, Android.Resource.Layout.SimpleSpinnerItem, planets);
- adapter.SetDropDownViewResource(Android.Resource.Layout.SimpleSpinnerDropDownItem);
- s1.Adapter = adapter;
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/Nav/ActivityZoomScreen.cs b/ContentControls/ContentControls/Screens/Nav/ActivityZoomScreen.cs
deleted file mode 100644
index 55ff953ff..000000000
--- a/ContentControls/ContentControls/Screens/Nav/ActivityZoomScreen.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.Widget;
-
-namespace ContentControls {
-
- [Activity(Label = "ActivityZoom")]
- public class ActivityZoomScreen : Activity {
-
- /*
- * To animate the appearance of this activity, see Home.cs
- * (and the animations defined in \Resources\Anim\
- *
- StartActivity(sample);
- OverridePendingTransition(Resource.Animation.zoom_enter, Resource.Animation.zoom_exit);
- */
-
- string[] planets = {
- "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"
- };
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.LightTheme);
-
- var s1 = FindViewById(Resource.Id.spinner1);
- var adapter = new ArrayAdapter(this, Android.Resource.Layout.SimpleSpinnerItem, planets);
- adapter.SetDropDownViewResource(Android.Resource.Layout.SimpleSpinnerDropDownItem);
- s1.Adapter = adapter;
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/Nav/LightThemeScreen.cs b/ContentControls/ContentControls/Screens/Nav/LightThemeScreen.cs
deleted file mode 100644
index 56646dad1..000000000
--- a/ContentControls/ContentControls/Screens/Nav/LightThemeScreen.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.GoogleMaps;
-using Android.Widget;
-
-namespace ContentControls {
-
- [Activity(Label = "LightTheme", Theme = "@android:style/Theme.Light")]
- public class LightThemeScreen : Activity {
-
- string[] planets = {
- "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"
- };
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.LightTheme);
-
- var s1 = FindViewById(Resource.Id.spinner1);
- var adapter = new ArrayAdapter(this, Android.Resource.Layout.SimpleSpinnerItem, planets);
- adapter.SetDropDownViewResource(Android.Resource.Layout.SimpleSpinnerDropDownItem);
- s1.Adapter = adapter;
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/Search/AutoCompleteCustomAdapter.cs b/ContentControls/ContentControls/Screens/Search/AutoCompleteCustomAdapter.cs
deleted file mode 100644
index 2c99b976b..000000000
--- a/ContentControls/ContentControls/Screens/Search/AutoCompleteCustomAdapter.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-
-namespace ContentControls {
- ///
- /// Adapter with custom IFilterable implementation to react
- /// to changing AutoComplete input, with custom matching algorithm
- ///
- public class AutoCompleteCustomAdapter : ArrayAdapter, IFilterable {
- LayoutInflater inflater;
- Filter filter;
- public string[] AllItems;
- public string[] MatchItems;
-
- public AutoCompleteCustomAdapter (Activity context, int txtViewResourceId, string[] items)
- : base(context, txtViewResourceId, items)
- {
- inflater = context.LayoutInflater;
- filter = new SuggestionsFilter(this);
- AllItems = items;
- MatchItems = items; // the matching results; changes with each keypress
- }
- public override int Count {
- get {
- return MatchItems.Length;
- }
- }
- public override Java.Lang.Object GetItem (int position)
- {
- return MatchItems[position];
- }
- public override View GetView (int position, View convertView, ViewGroup parent)
- {
- View view = convertView;
- if (view == null)
- view = inflater.Inflate(Android.Resource.Layout.SimpleDropDownItem1Line, null);
-
- view.FindViewById(Android.Resource.Id.Text1).Text = MatchItems[position];
-
- return view;
- }
-
- public override Filter Filter {
- get {
- return filter;
- }
- }
-
- class SuggestionsFilter : Filter
- {
- AutoCompleteCustomAdapter customAdapter;
- public SuggestionsFilter (AutoCompleteCustomAdapter adapter) : base() {
- customAdapter = adapter;
- }
- protected override Filter.FilterResults PerformFiltering (Java.Lang.ICharSequence constraint)
- {
- FilterResults results = new FilterResults();
- if (constraint != null) {
- var searchFor = constraint.ToString ();
-Console.WriteLine ("searchFor:" + searchFor);
- var matchList = new List();
-
- // find matches, IndexOf means look for the input anywhere in the items
- // but it isn't case-sensitive by default!
- var matches = from i in customAdapter.AllItems
- where i.IndexOf(searchFor) >= 0
- select i;
-
- foreach (var match in matches) {
- matchList.Add (match);
- }
-
- customAdapter.MatchItems = matchList.ToArray ();
-Console.WriteLine ("resultCount:" + matchList.Count);
-
-// not sure if the Java array/FilterResults are used
-Java.Lang.Object[] matchObjects;
-matchObjects = new Java.Lang.Object[matchList.Count];
-for (int i = 0; i < matchList.Count; i++) {
- matchObjects[i] = new Java.Lang.String(matchList[i]);
-}
-
- results.Values = matchObjects;
- results.Count = matchList.Count;
- }
- return results;
- }
- protected override void PublishResults (Java.Lang.ICharSequence constraint, Filter.FilterResults results)
- {
- customAdapter.NotifyDataSetChanged();
- }
- }
- }
-}
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Screens/Search/AutoCompleteCustomAdapterScreen.cs b/ContentControls/ContentControls/Screens/Search/AutoCompleteCustomAdapterScreen.cs
deleted file mode 100644
index 1dadeb34b..000000000
--- a/ContentControls/ContentControls/Screens/Search/AutoCompleteCustomAdapterScreen.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace ContentControls {
- ///
- /// Demonstrates writing an Adapter to support custom filtering in the AutoComplete list
- ///
- [Activity(Label = "AutoCompleteCustomAdapter")]
- public class AutoCompleteCustomAdapterScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.AutoCompleteTextView);
-
- AutoCompleteTextView act = FindViewById(Resource.Id.AutoCompleteInput);
-
- Stream seedDataStream = Assets.Open(@"WordList.txt");
-
- List lines = new List();
- using (StreamReader reader = new StreamReader(seedDataStream)) {
- string line;
- while ((line = reader.ReadLine()) != null) {
- lines.Add(line);
- }
- }
-
- string[] wordlist = lines.ToArray();
-
- act.Adapter = new AutoCompleteCustomAdapter(this, Android.Resource.Layout.SimpleDropDownItem1Line, wordlist);
- }
- }
-}
\ No newline at end of file
diff --git a/ContentControls/ContentControls/Screens/Search/AutoCompleteTextViewScreen.cs b/ContentControls/ContentControls/Screens/Search/AutoCompleteTextViewScreen.cs
deleted file mode 100644
index 24c057bd9..000000000
--- a/ContentControls/ContentControls/Screens/Search/AutoCompleteTextViewScreen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-using System.IO;
-using System.Collections.Generic;
-
-namespace ContentControls {
-
- [Activity(Label = "AutoCompleteTextView")]
- public class AutoCompleteTextViewScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.AutoCompleteTextView);
-
- AutoCompleteTextView act = FindViewById(Resource.Id.AutoCompleteInput);
-
-
- Stream seedDataStream = Assets.Open(@"WordList.txt");
-
- List lines = new List();
- using (StreamReader reader = new StreamReader(seedDataStream)) {
- string line;
- while ((line = reader.ReadLine()) != null) {
- lines.Add(line);
- }
- }
-
- string[] wordlist = lines.ToArray();
-
-
- ArrayAdapter arr = new ArrayAdapter(this, Android.Resource.Layout.SimpleDropDownItem1Line, wordlist);
- act.Adapter = arr;
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/WebView/WebViewBrowserScreen.cs b/ContentControls/ContentControls/Screens/WebView/WebViewBrowserScreen.cs
deleted file mode 100644
index ece9dce56..000000000
--- a/ContentControls/ContentControls/Screens/WebView/WebViewBrowserScreen.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.Widget;
-
-namespace ContentControls {
-
- [Activity(Label = "WebViewBrowser")]
- public class WebViewBrowserScreen : Activity {
- WebView web;
- Button BackButton, ForwardButton, GoButton, StopButton;
- EditText UrlText;
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.WebViewBrowser);
-
- web = FindViewById(Resource.Id.Web);
- web.Settings.JavaScriptEnabled = true;
- web.LoadUrl("http://xamarin.com/");
- web.SetWebViewClient(new MonkeyWebViewClient());
-
- // allow zooming/panning
- web.Settings.BuiltInZoomControls = true;
- web.Settings.SetSupportZoom(true);
-
-
- // loading with the page zoomed-out, so you can see the whole thing (like the default behaviour of the real browser)
- web.Settings.LoadWithOverviewMode = true;
- web.Settings.UseWideViewPort = true;
-
- // scrollbar stuff
- web.ScrollBarStyle = ScrollbarStyles.OutsideOverlay; // so there's no 'white line'
- web.ScrollbarFadingEnabled = false;
-
-
- BackButton = FindViewById(Resource.Id.BackButton);
- ForwardButton = FindViewById(Resource.Id.ForwardButton);
- GoButton = FindViewById(Resource.Id.GoButton);
- StopButton = FindViewById(Resource.Id.StopButton);
- UrlText = FindViewById(Resource.Id.UrlText);
-
- BackButton.Click += (s, e) => {
- web.GoBack();
- };
- ForwardButton.Click += (s, e) => {
- web.GoForward();
- };
- GoButton.Click += (s, e) => {
- web.LoadUrl(UrlText.Text);
- };
- StopButton.Click += (s, e) => {
- web.StopLoading();
- };
- }
- class MonkeyWebViewClient : WebViewClient {
- public override bool ShouldOverrideUrlLoading(WebView view, string url)
- {
- view.LoadUrl(url);
- return true;
- }
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/WebView/WebViewGeneratedContentScreen.cs b/ContentControls/ContentControls/Screens/WebView/WebViewGeneratedContentScreen.cs
deleted file mode 100644
index 737671b32..000000000
--- a/ContentControls/ContentControls/Screens/WebView/WebViewGeneratedContentScreen.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-
-namespace ContentControls {
-
- [Activity(Label = "WebViewGeneratedContent")]
- public class WebViewGeneratedContentScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.WebView);
-
- var wv = FindViewById(Resource.Id.Web);
- wv.Settings.JavaScriptEnabled = true;
-
- string data = @"
-Generated Html
-This Html was generated in c#, but can link to local files
-
-Sub Page 1
-";
-
- wv.LoadData(data, "text/html", "UTF-8");
- wv.LoadDataWithBaseURL("file:///android_asset/Content/", data, "text/html", "UTF-8", "");
-
- wv.SetWebViewClient(new MonkeyWebViewClient());
-
- // allow zooming/panning
- wv.Settings.BuiltInZoomControls = true;
- wv.Settings.SetSupportZoom(true);
-
- // we DON'T want the page zoomed-out, since it is phone-sized content
- wv.Settings.LoadWithOverviewMode = false;
- wv.Settings.UseWideViewPort = false;
-
- // scrollbar stuff
- wv.ScrollBarStyle = ScrollbarStyles.OutsideOverlay; // so there's no 'white line'
- wv.ScrollbarFadingEnabled = false;
- }
- class MonkeyWebViewClient : WebViewClient {
- public override bool ShouldOverrideUrlLoading(WebView view, string url)
- {
- view.LoadUrl(url);
- return true;
- }
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/WebView/WebViewInteropScreen.cs b/ContentControls/ContentControls/Screens/WebView/WebViewInteropScreen.cs
deleted file mode 100644
index be69944b3..000000000
--- a/ContentControls/ContentControls/Screens/WebView/WebViewInteropScreen.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-using Android.Widget;
-
-namespace ContentControls {
-
- [Activity(Label = "WebViewInterop")]
- public class WebViewInteropScreen : Activity {
- WebView wv;
- Button RunScriptButton;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.WebViewInterop);
-
- wv = FindViewById(Resource.Id.Web);
- wv.Settings.JavaScriptEnabled = true;
-
- // wire up the c#-to-javascript button
- RunScriptButton = FindViewById(Resource.Id.RunScriptButton);
- RunScriptButton.Click += (s, e) => {
- wv.LoadUrl("javascript:RunAction();");
- wv.LoadUrl("javascript:SetContent('Yay for content from C#');");
- };
-
- wv.LoadUrl("file:///android_asset/Content/InteractivePages/Home.html");
-
- wv.SetWebViewClient(new MonkeyWebViewClient(this));
- wv.SetWebChromeClient(new MonkeyWebChromeClient()); // required for javascript:alert() handling
-
- // allow zooming/panning
- wv.Settings.BuiltInZoomControls = true;
- wv.Settings.SetSupportZoom(true);
-
- // we DON'T want the page zoomed-out, since it is phone-sized content
- wv.Settings.LoadWithOverviewMode = false;
- wv.Settings.UseWideViewPort = false;
-
- // scrollbar stuff
- wv.ScrollBarStyle = ScrollbarStyles.OutsideOverlay; // so there's no 'white line'
- wv.ScrollbarFadingEnabled = false;
- }
-
- class MonkeyWebChromeClient : WebChromeClient {
- public override bool OnJsAlert(WebView view, string url, string message, JsResult result)
- {
- // the built-in alert is pretty ugly, you could do something different here if you wanted to
- return base.OnJsAlert(view, url, message, result);
- }
- }
-
- class MonkeyWebViewClient : WebViewClient {
- Activity context;
- public MonkeyWebViewClient(Activity context)
- {
- this.context = context;
- }
- public override bool ShouldOverrideUrlLoading(WebView view, string url)
- {
- if (url.StartsWith("file://LOCAL")) {
- // parse the url to decide what to do
- Toast.MakeText(context, "Handle the link in c#\n"+url, ToastLength.Short).Show();
- } else {
- view.LoadUrl(url);
- }
- return true;
- }
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/WebView/WebViewLocalContentScreen.cs b/ContentControls/ContentControls/Screens/WebView/WebViewLocalContentScreen.cs
deleted file mode 100644
index 689c9552b..000000000
--- a/ContentControls/ContentControls/Screens/WebView/WebViewLocalContentScreen.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-
-namespace ContentControls {
-
- [Activity(Label = "WebViewLocalContent")]
- public class WebViewLocalContentScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.WebView);
-
- var wv = FindViewById(Resource.Id.Web);
- wv.Settings.JavaScriptEnabled = true;
-
- wv.LoadUrl("file:///android_asset/Content/Home.html");
-
- wv.SetWebViewClient(new MonkeyWebViewClient());
-
- // allow zooming/panning
- wv.Settings.BuiltInZoomControls = true;
- wv.Settings.SetSupportZoom(true);
-
- // we DON'T want the page zoomed-out, since it is phone-sized content
- wv.Settings.LoadWithOverviewMode = false;
- wv.Settings.UseWideViewPort = false;
-
- // scrollbar stuff
- wv.ScrollBarStyle = ScrollbarStyles.OutsideOverlay; // so there's no 'white line'
- wv.ScrollbarFadingEnabled = false;
- }
- class MonkeyWebViewClient : WebViewClient {
- public override bool ShouldOverrideUrlLoading(WebView view, string url)
- {
- view.LoadUrl(url);
- return true;
- }
- }
- }
-}
-
diff --git a/ContentControls/ContentControls/Screens/WebView/WebViewScreen.cs b/ContentControls/ContentControls/Screens/WebView/WebViewScreen.cs
deleted file mode 100644
index 535395ca2..000000000
--- a/ContentControls/ContentControls/Screens/WebView/WebViewScreen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Webkit;
-
-namespace ContentControls {
-
- [Activity(Label = "WebView")]
- public class WebViewScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.WebView);
-
- var wv = FindViewById(Resource.Id.Web);
- wv.Settings.JavaScriptEnabled = true;
- wv.LoadUrl("http://xamarin.com/");
- wv.SetWebViewClient(new MonkeyWebViewClient());
-
- // allow zooming/panning
- wv.Settings.BuiltInZoomControls = true;
- wv.Settings.SetSupportZoom(true);
-
- // loading with the page zoomed-out, so you can see the whole thing (like the default behaviour of the real browser)
- wv.Settings.LoadWithOverviewMode = true;
- wv.Settings.UseWideViewPort = true;
-
- // scrollbar stuff
- wv.ScrollBarStyle = ScrollbarStyles.OutsideOverlay; // so there's no 'white line'
- wv.ScrollbarFadingEnabled = false;
- }
- class MonkeyWebViewClient : WebViewClient {
- public override bool ShouldOverrideUrlLoading(WebView view, string url)
- {
- view.LoadUrl(url);
- return true;
- }
- }
- }
-}
-
diff --git a/ContentControls/Metadata.xml b/ContentControls/Metadata.xml
deleted file mode 100644
index 41d1dcdd7..000000000
--- a/ContentControls/Metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- 80281f73-2ed0-47a7-b718-cb71b6ce0cb3
- false
- Beginning
- User Interface
-
diff --git a/ContentControls/README.md b/ContentControls/README.md
deleted file mode 100644
index d0ea8331f..000000000
--- a/ContentControls/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
-Content Controls
-================
-
-This sample demonstrates Android's content controls.
-
-Browsers: WebView, WebView Browser, Local Content, Generated Content, Javascript Interop
-
-Maps**: Basic MapView, MapView with Annotation, MapView with Overlay
-
-Search: AutoCompleteTextView
-
-Nav: Activity Fade, Activity Zoom, Light Theme
-
-
-** NOTE: the Map examples require the PrivateStrings.xml "GoogleMapAPIKey" key to be uncommented and a valid key added. See
-http://docs.xamarin.com/android/advanced_topics/Obtaining_a_Google_Maps_API_Key (you should also have installed the Google APIs Add-on
-via the Android SDK Manager).
-
-
-
-Authors
--------
-
-Craig Dunn
\ No newline at end of file
diff --git a/ContentControls/Screenshots/AutoCompleteCustomAdapter.png b/ContentControls/Screenshots/AutoCompleteCustomAdapter.png
deleted file mode 100644
index ec33cc943..000000000
Binary files a/ContentControls/Screenshots/AutoCompleteCustomAdapter.png and /dev/null differ
diff --git a/ContentControls/Screenshots/AutoCompleteTextView.png b/ContentControls/Screenshots/AutoCompleteTextView.png
deleted file mode 100644
index 8d3468b6a..000000000
Binary files a/ContentControls/Screenshots/AutoCompleteTextView.png and /dev/null differ
diff --git a/ContentControls/Screenshots/Home.png b/ContentControls/Screenshots/Home.png
deleted file mode 100644
index a579b90f2..000000000
Binary files a/ContentControls/Screenshots/Home.png and /dev/null differ
diff --git a/ContentControls/Screenshots/LightTheme.png b/ContentControls/Screenshots/LightTheme.png
deleted file mode 100644
index 749aaf709..000000000
Binary files a/ContentControls/Screenshots/LightTheme.png and /dev/null differ
diff --git a/ContentControls/Screenshots/MapView.png b/ContentControls/Screenshots/MapView.png
deleted file mode 100644
index 024dbc667..000000000
Binary files a/ContentControls/Screenshots/MapView.png and /dev/null differ
diff --git a/ContentControls/Screenshots/MapViewAnnotation.png b/ContentControls/Screenshots/MapViewAnnotation.png
deleted file mode 100644
index d26abed0d..000000000
Binary files a/ContentControls/Screenshots/MapViewAnnotation.png and /dev/null differ
diff --git a/ContentControls/Screenshots/MapViewOverlay.png b/ContentControls/Screenshots/MapViewOverlay.png
deleted file mode 100644
index 8a890de8e..000000000
Binary files a/ContentControls/Screenshots/MapViewOverlay.png and /dev/null differ
diff --git a/ContentControls/Screenshots/WebView.png b/ContentControls/Screenshots/WebView.png
deleted file mode 100644
index 0c3fb1758..000000000
Binary files a/ContentControls/Screenshots/WebView.png and /dev/null differ
diff --git a/ContentControls/Screenshots/WebViewBrowser.png b/ContentControls/Screenshots/WebViewBrowser.png
deleted file mode 100644
index 8f507b876..000000000
Binary files a/ContentControls/Screenshots/WebViewBrowser.png and /dev/null differ
diff --git a/ContentControls/Screenshots/WebViewGeneratedContent.png b/ContentControls/Screenshots/WebViewGeneratedContent.png
deleted file mode 100644
index 5899fa7eb..000000000
Binary files a/ContentControls/Screenshots/WebViewGeneratedContent.png and /dev/null differ
diff --git a/ContentControls/Screenshots/WebViewInterop.png b/ContentControls/Screenshots/WebViewInterop.png
deleted file mode 100644
index cd5776b9d..000000000
Binary files a/ContentControls/Screenshots/WebViewInterop.png and /dev/null differ
diff --git a/ContentControls/Screenshots/WebViewLocalContent.png b/ContentControls/Screenshots/WebViewLocalContent.png
deleted file mode 100644
index e5237943d..000000000
Binary files a/ContentControls/Screenshots/WebViewLocalContent.png and /dev/null differ
diff --git a/ContentControls/movedto.md b/ContentControls/movedto.md
new file mode 100644
index 000000000..a3a8e5ce1
--- /dev/null
+++ b/ContentControls/movedto.md
@@ -0,0 +1 @@
+https://github.com/xamarin/mobile-samples/tree/master/ContentControls
\ No newline at end of file
diff --git a/StandardControls/Metadata.xml b/StandardControls/Metadata.xml
deleted file mode 100644
index a0ff8e769..000000000
--- a/StandardControls/Metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- D307AF95-96A3-4FBC-832A-1FB187936FAB
- false
- Beginning
- User Interface
-
diff --git a/StandardControls/README.md b/StandardControls/README.md
deleted file mode 100644
index 998780976..000000000
--- a/StandardControls/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
-Standard Controls
-=====================
-
-This sample demonstrates Android's built-in UI controls.
-
-Form Controls: TextView, EditText, AutoCompleteTextView, Button, CheckBox, RadioGroup, RatingBar
-
-Content Controls: ImageView, Gallery, ScrollView, GridView
-
-Progress Controls: Progress Dialog, Progress Bar
-
-Popups: Toast, Alert
-
-Pickers: Spinner, DatePickerDialog, TimePickerDialog
-
-Menus: Options Menu, Context Menu
-
-Layouts: Tab Layout, RelativeLayout, LinearLayout, FrameLayout, TableLayout
-
-
-Authors
--------
-
-Craig Dunn
\ No newline at end of file
diff --git a/StandardControls/Screenshots/Alert.png b/StandardControls/Screenshots/Alert.png
deleted file mode 100644
index 6820ac087..000000000
Binary files a/StandardControls/Screenshots/Alert.png and /dev/null differ
diff --git a/StandardControls/Screenshots/AutoCompleteTextView.png b/StandardControls/Screenshots/AutoCompleteTextView.png
deleted file mode 100644
index 4c2b39275..000000000
Binary files a/StandardControls/Screenshots/AutoCompleteTextView.png and /dev/null differ
diff --git a/StandardControls/Screenshots/Button.png b/StandardControls/Screenshots/Button.png
deleted file mode 100644
index e9bad8e63..000000000
Binary files a/StandardControls/Screenshots/Button.png and /dev/null differ
diff --git a/StandardControls/Screenshots/CheckBox.png b/StandardControls/Screenshots/CheckBox.png
deleted file mode 100644
index 83ca7eac1..000000000
Binary files a/StandardControls/Screenshots/CheckBox.png and /dev/null differ
diff --git a/StandardControls/Screenshots/ContextMenu.png b/StandardControls/Screenshots/ContextMenu.png
deleted file mode 100644
index 54c05633b..000000000
Binary files a/StandardControls/Screenshots/ContextMenu.png and /dev/null differ
diff --git a/StandardControls/Screenshots/DatePickerDialog.png b/StandardControls/Screenshots/DatePickerDialog.png
deleted file mode 100644
index d358c11b4..000000000
Binary files a/StandardControls/Screenshots/DatePickerDialog.png and /dev/null differ
diff --git a/StandardControls/Screenshots/EditText.png b/StandardControls/Screenshots/EditText.png
deleted file mode 100644
index c741c0c12..000000000
Binary files a/StandardControls/Screenshots/EditText.png and /dev/null differ
diff --git a/StandardControls/Screenshots/FrameLayout.png b/StandardControls/Screenshots/FrameLayout.png
deleted file mode 100644
index 5fb727ca0..000000000
Binary files a/StandardControls/Screenshots/FrameLayout.png and /dev/null differ
diff --git a/StandardControls/Screenshots/Gallery.png b/StandardControls/Screenshots/Gallery.png
deleted file mode 100644
index 4387c65e3..000000000
Binary files a/StandardControls/Screenshots/Gallery.png and /dev/null differ
diff --git a/StandardControls/Screenshots/GridView.png b/StandardControls/Screenshots/GridView.png
deleted file mode 100644
index 7a10851f0..000000000
Binary files a/StandardControls/Screenshots/GridView.png and /dev/null differ
diff --git a/StandardControls/Screenshots/Home.png b/StandardControls/Screenshots/Home.png
deleted file mode 100644
index ed5b7681c..000000000
Binary files a/StandardControls/Screenshots/Home.png and /dev/null differ
diff --git a/StandardControls/Screenshots/HorizontalScrollView.png b/StandardControls/Screenshots/HorizontalScrollView.png
deleted file mode 100644
index a16a1c7d7..000000000
Binary files a/StandardControls/Screenshots/HorizontalScrollView.png and /dev/null differ
diff --git a/StandardControls/Screenshots/ImageView.png b/StandardControls/Screenshots/ImageView.png
deleted file mode 100644
index f0867ab45..000000000
Binary files a/StandardControls/Screenshots/ImageView.png and /dev/null differ
diff --git a/StandardControls/Screenshots/LinearLayout.png b/StandardControls/Screenshots/LinearLayout.png
deleted file mode 100644
index 5a944f2c8..000000000
Binary files a/StandardControls/Screenshots/LinearLayout.png and /dev/null differ
diff --git a/StandardControls/Screenshots/LinearLayoutHorizontal.png b/StandardControls/Screenshots/LinearLayoutHorizontal.png
deleted file mode 100644
index a38fbdd0f..000000000
Binary files a/StandardControls/Screenshots/LinearLayoutHorizontal.png and /dev/null differ
diff --git a/StandardControls/Screenshots/OptionsLongMenu.png b/StandardControls/Screenshots/OptionsLongMenu.png
deleted file mode 100644
index b388d23ea..000000000
Binary files a/StandardControls/Screenshots/OptionsLongMenu.png and /dev/null differ
diff --git a/StandardControls/Screenshots/OptionsMenu.png b/StandardControls/Screenshots/OptionsMenu.png
deleted file mode 100644
index eaa1aa946..000000000
Binary files a/StandardControls/Screenshots/OptionsMenu.png and /dev/null differ
diff --git a/StandardControls/Screenshots/ProgressBar.png b/StandardControls/Screenshots/ProgressBar.png
deleted file mode 100644
index e8c45987c..000000000
Binary files a/StandardControls/Screenshots/ProgressBar.png and /dev/null differ
diff --git a/StandardControls/Screenshots/ProgressDialog.png b/StandardControls/Screenshots/ProgressDialog.png
deleted file mode 100644
index b04dd713d..000000000
Binary files a/StandardControls/Screenshots/ProgressDialog.png and /dev/null differ
diff --git a/StandardControls/Screenshots/RadioGroup.png b/StandardControls/Screenshots/RadioGroup.png
deleted file mode 100644
index 91ba8e138..000000000
Binary files a/StandardControls/Screenshots/RadioGroup.png and /dev/null differ
diff --git a/StandardControls/Screenshots/RatingBar.png b/StandardControls/Screenshots/RatingBar.png
deleted file mode 100644
index 29dda24a0..000000000
Binary files a/StandardControls/Screenshots/RatingBar.png and /dev/null differ
diff --git a/StandardControls/Screenshots/RelativeLayout.png b/StandardControls/Screenshots/RelativeLayout.png
deleted file mode 100644
index b733a1a75..000000000
Binary files a/StandardControls/Screenshots/RelativeLayout.png and /dev/null differ
diff --git a/StandardControls/Screenshots/ScrollView.png b/StandardControls/Screenshots/ScrollView.png
deleted file mode 100644
index f620693c5..000000000
Binary files a/StandardControls/Screenshots/ScrollView.png and /dev/null differ
diff --git a/StandardControls/Screenshots/Spinner.png b/StandardControls/Screenshots/Spinner.png
deleted file mode 100644
index ec6c76fa9..000000000
Binary files a/StandardControls/Screenshots/Spinner.png and /dev/null differ
diff --git a/StandardControls/Screenshots/TabLayout.png b/StandardControls/Screenshots/TabLayout.png
deleted file mode 100644
index da5148803..000000000
Binary files a/StandardControls/Screenshots/TabLayout.png and /dev/null differ
diff --git a/StandardControls/Screenshots/TableLayout.png b/StandardControls/Screenshots/TableLayout.png
deleted file mode 100644
index db9b8a8d9..000000000
Binary files a/StandardControls/Screenshots/TableLayout.png and /dev/null differ
diff --git a/StandardControls/Screenshots/TextView.png b/StandardControls/Screenshots/TextView.png
deleted file mode 100644
index 71c7640ba..000000000
Binary files a/StandardControls/Screenshots/TextView.png and /dev/null differ
diff --git a/StandardControls/Screenshots/TimePickerDialog.png b/StandardControls/Screenshots/TimePickerDialog.png
deleted file mode 100644
index 6d657099e..000000000
Binary files a/StandardControls/Screenshots/TimePickerDialog.png and /dev/null differ
diff --git a/StandardControls/Screenshots/Toast.png b/StandardControls/Screenshots/Toast.png
deleted file mode 100644
index 70938bc1c..000000000
Binary files a/StandardControls/Screenshots/Toast.png and /dev/null differ
diff --git a/StandardControls/StandardControls.sln b/StandardControls/StandardControls.sln
deleted file mode 100644
index 74488dfab..000000000
--- a/StandardControls/StandardControls.sln
+++ /dev/null
@@ -1,22 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StandardControls", "StandardControls\StandardControls.csproj", "{BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.Build.0 = Release|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.Deploy.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/StandardControls/StandardControls/Assets/AboutAssets.txt b/StandardControls/StandardControls/Assets/AboutAssets.txt
deleted file mode 100644
index ee3988629..000000000
--- a/StandardControls/StandardControls/Assets/AboutAssets.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Any raw assets you want to be deployed with your application can be placed in
-this directory (and child directories) and given a Build Action of "AndroidAsset".
-
-These files will be deployed with you package and will be accessible using Android's
-AssetManager, like this:
-
-public class ReadAsset : Activity
-{
- protected override void OnCreate (Bundle bundle)
- {
- base.OnCreate (bundle);
-
- InputStream input = Assets.Open ("my_asset.txt");
- }
-}
-
-Additionally, some Android functions will automatically load asset files:
-
-Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Home.cs b/StandardControls/StandardControls/Home.cs
deleted file mode 100644
index fa35a0801..000000000
--- a/StandardControls/StandardControls/Home.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace StandardControls {
- [Activity(Label = "StandardControls", MainLauncher = true, Icon = "@drawable/icon")]
- public class Home : ListActivity {
-
- Home_Adapter adapter;
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
- adapter = new Home_Adapter(this);
- ListAdapter = adapter;
- }
- protected override void OnListItemClick(ListView l, View v, int position, long id)
- {
- var s = adapter[position];
- var sample = new Intent(this, s.Screen);
- this.StartActivity(sample);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Home_Adapter.cs b/StandardControls/StandardControls/Home_Adapter.cs
deleted file mode 100644
index 71aa9566f..000000000
--- a/StandardControls/StandardControls/Home_Adapter.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-using Android.Content;
-
-namespace StandardControls {
- public class Sample {
- public Sample(string name, Type screen)
- {
- Name = name;
- Screen = screen;
- }
- public string Name;
- public Type Screen;
- }
- public class Home_Adapter : BaseAdapter {
- Activity context = null;
- Dictionary> samples;
- private readonly IList rows;
-
- public Home_Adapter(Activity context)
- : base()
- {
- this.context = context;
- samples = new Dictionary>();
-
- samples.Add("Form Controls", new List() {
- new Sample ("TextView", typeof(TextViewScreen))
- , new Sample ("EditText", typeof(EditTextScreen))
- , new Sample ("AutoCompleteTextView", typeof(AutoCompleteTextViewScreen))
- , new Sample ("Button", typeof(ButtonScreen))
- , new Sample ("CheckBox", typeof(CheckBoxScreen))
- , new Sample ("RadioGroup", typeof(RadioGroupScreen))
- , new Sample ("RatingBar", typeof(RatingBarScreen))
- });
- samples.Add("Content Controls", new List() {
- new Sample ("ImageView", typeof(ImageViewScreen))
- , new Sample ("Gallery", typeof(GalleryScreen))
- , new Sample ("ScrollView", typeof(ScrollViewScreen))
- , new Sample ("HorizontalScrollView", typeof(HorizontalScrollViewScreen))
- , new Sample ("GridView", typeof(GridViewScreen))
- });
- samples.Add("Progress Controls", new List() {
- new Sample ("ProgressDialog", typeof(ProgressDialogScreen))
- , new Sample ("ProgressBar", typeof(ProgressBarScreen))
- });
- samples.Add("Popups", new List() {
- new Sample ("Toast", typeof(ToastScreen))
- , new Sample ("Alert", typeof(AlertScreen))
- });
- samples.Add("Pickers", new List() {
- new Sample ("Spinner", typeof(SpinnerScreen))
- , new Sample ("DatePickerDialog", typeof(DatePickerDialogScreen))
- , new Sample ("TimePickerDialogScreen", typeof(TimePickerDialogScreen))
- });
- samples.Add("Menus", new List() {
- new Sample ("Options Menu", typeof(OptionsMenuScreen))
- , new Sample ("Many Options", typeof(OptionsLongMenuScreen))
- , new Sample ("Context Menu", typeof(ContextMenuScreen))
-
- });
- samples.Add("Layouts", new List() {
- new Sample ("Tab Layout", typeof(TabLayoutScreen))
- , new Sample ("RelativeLayout", typeof(RelativeLayoutScreen))
- , new Sample ("LinearLayout (Vertical)", typeof(LinearLayoutScreen))
- , new Sample ("LinearLayout (Horizontal)", typeof(HorizontalLinearLayoutScreen))
- //, new Sample ("LinearLayout (Vertical+Weight)", typeof(LinearLayoutWeightScreen))
- //, new Sample ("LinearLayout (Horizontal+Weight)", typeof(HorizontalLinearLayoutWeightScreen))
- , new Sample ("FrameLayout", typeof(FrameLayoutScreen))
- , new Sample ("TableLayout", typeof(TableLayoutScreen))
- });
-
- // flatten groups into single 'list'
- rows = new List();
- foreach (var section in samples.Keys) {
- rows.Add(section);
- foreach (var session in samples[section]) {
- rows.Add(session);
- }
- }
- }
- public Sample GetSample (int position) {
- return (Sample)rows[position];
- }
- public override Sample this[int position]
- {
- get
- { // this'll break if called with a 'header' position
- return (Sample)rows[position];
- }
- }
-
- public override long GetItemId(int position)
- {
- return position;
- }
-
- public override int Count
- {
- get { return rows.Count; }
- }
- public override bool AreAllItemsEnabled()
- {
- return true;
- }
- public override bool IsEnabled(int position)
- {
- return !(rows[position] is string);
- }
-
- ///
- /// Grouped list: view could be a 'section heading' or a 'data row'
- ///
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- // Get our object for this position
- var item = this.rows[position];
- View view = null;
-
- if (item is string) { // header
- view = context.LayoutInflater.Inflate(Resource.Layout.HomeSectionHeader, null);
- view.Clickable = false;
- view.LongClickable = false;
- view.SetOnClickListener(null);
- view.FindViewById(Resource.Id.Text1).Text = (string)item;
- } else { //session
- view = context.LayoutInflater.Inflate(Android.Resource.Layout.SimpleListItem1, null);
-
- view.FindViewById(Android.Resource.Id.Text1).Text = ((Sample)item).Name;
- }
- //Finally return the view
- return view;
- }
- }
-}
diff --git a/StandardControls/StandardControls/Properties/AndroidManifest.xml b/StandardControls/StandardControls/Properties/AndroidManifest.xml
deleted file mode 100644
index 05d327486..000000000
--- a/StandardControls/StandardControls/Properties/AndroidManifest.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Properties/AssemblyInfo.cs b/StandardControls/StandardControls/Properties/AssemblyInfo.cs
deleted file mode 100644
index 27f79993e..000000000
--- a/StandardControls/StandardControls/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using Android.App;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("TablesAndCellStyles")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TablesAndCellStyles")]
-[assembly: AssemblyCopyright("Copyright © 2012")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("a557ce8c-9dbe-4b93-8fc4-95ffc126cf14")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-
-// Add some common permissions, these can be removed if not needed
-[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
-[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
diff --git a/StandardControls/StandardControls/Resources/AboutResources.txt b/StandardControls/StandardControls/Resources/AboutResources.txt
deleted file mode 100644
index b0fc999bd..000000000
--- a/StandardControls/StandardControls/Resources/AboutResources.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Images, layout descriptions, binary blobs and string dictionaries can be included
-in your application as resource files. Various Android APIs are designed to
-operate on the resource IDs instead of dealing with images, strings or binary blobs
-directly.
-
-For example, a sample Android app that contains a user interface layout (Main.xml),
-an internationalization string table (Strings.xml) and some icons (drawable/Icon.png)
-would keep its resources in the "Resources" directory of the application:
-
-Resources/
- Drawable/
- Icon.png
-
- Layout/
- Main.axml
-
- Values/
- Strings.xml
-
-In order to get the build system to recognize Android resources, the build action should be set
-to "AndroidResource". The native Android APIs do not operate directly with filenames, but
-instead operate on resource IDs. When you compile an Android application that uses resources,
-the build system will package the resources for distribution and generate a class called
-"Resource" that contains the tokens for each one of the resources included. For example,
-for the above Resources layout, this is what the Resource class would expose:
-
-public class Resource {
- public class Drawable {
- public const int Icon = 0x123;
- }
-
- public class Layout {
- public const int Main = 0x456;
- }
-
- public class String {
- public const int FirstString = 0xabc;
- public const int SecondString = 0xbcd;
- }
-}
-
-You would then use Resource.Drawable.Icon to reference the Drawable/Icon.png file, or
-Resource.Layout.Main to reference the Layout/Main.axml file, or Resource.String.FirstString
-to reference the first string in the dictionary file Values/Strings.xml.
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Drawable/Beach.png b/StandardControls/StandardControls/Resources/Drawable/Beach.png
deleted file mode 100644
index 26f74378c..000000000
Binary files a/StandardControls/StandardControls/Resources/Drawable/Beach.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/Drawable/Beach_pressed.png b/StandardControls/StandardControls/Resources/Drawable/Beach_pressed.png
deleted file mode 100644
index f9a1c0237..000000000
Binary files a/StandardControls/StandardControls/Resources/Drawable/Beach_pressed.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/Drawable/Calendar.png b/StandardControls/StandardControls/Resources/Drawable/Calendar.png
deleted file mode 100644
index d4ad9a8fb..000000000
Binary files a/StandardControls/StandardControls/Resources/Drawable/Calendar.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/Drawable/Plants.png b/StandardControls/StandardControls/Resources/Drawable/Plants.png
deleted file mode 100644
index acc5b54e9..000000000
Binary files a/StandardControls/StandardControls/Resources/Drawable/Plants.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/Drawable/Seeds.png b/StandardControls/StandardControls/Resources/Drawable/Seeds.png
deleted file mode 100644
index 43c2dc0da..000000000
Binary files a/StandardControls/StandardControls/Resources/Drawable/Seeds.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/Drawable/Shanghai.png b/StandardControls/StandardControls/Resources/Drawable/Shanghai.png
deleted file mode 100644
index c27e8f5c9..000000000
Binary files a/StandardControls/StandardControls/Resources/Drawable/Shanghai.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/Drawable/background_selector.xml b/StandardControls/StandardControls/Resources/Drawable/background_selector.xml
deleted file mode 100644
index a5226415d..000000000
--- a/StandardControls/StandardControls/Resources/Drawable/background_selector.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- -
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists.xml b/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists.xml
deleted file mode 100644
index 8d1009547..000000000
--- a/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists_grey.png b/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists_grey.png
deleted file mode 100644
index 9baa30eac..000000000
Binary files a/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists_grey.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists_white.png b/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists_white.png
deleted file mode 100644
index 3b010d536..000000000
Binary files a/StandardControls/StandardControls/Resources/Drawable/ic_tab_artists_white.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/Drawable/imagebutton_selector.xml b/StandardControls/StandardControls/Resources/Drawable/imagebutton_selector.xml
deleted file mode 100644
index cc3852ead..000000000
--- a/StandardControls/StandardControls/Resources/Drawable/imagebutton_selector.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/Alert.axml b/StandardControls/StandardControls/Resources/Layout/Alert.axml
deleted file mode 100644
index 26fcc6c13..000000000
--- a/StandardControls/StandardControls/Resources/Layout/Alert.axml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/AutoCompleteTextView.axml b/StandardControls/StandardControls/Resources/Layout/AutoCompleteTextView.axml
deleted file mode 100644
index 15260ffb7..000000000
--- a/StandardControls/StandardControls/Resources/Layout/AutoCompleteTextView.axml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/Button.axml b/StandardControls/StandardControls/Resources/Layout/Button.axml
deleted file mode 100644
index 25f978757..000000000
--- a/StandardControls/StandardControls/Resources/Layout/Button.axml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/CheckBox.axml b/StandardControls/StandardControls/Resources/Layout/CheckBox.axml
deleted file mode 100644
index 014746378..000000000
--- a/StandardControls/StandardControls/Resources/Layout/CheckBox.axml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/ContextMenu.axml b/StandardControls/StandardControls/Resources/Layout/ContextMenu.axml
deleted file mode 100644
index 9973f0d90..000000000
--- a/StandardControls/StandardControls/Resources/Layout/ContextMenu.axml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/DatePickerDialog.axml b/StandardControls/StandardControls/Resources/Layout/DatePickerDialog.axml
deleted file mode 100644
index 128d24d9a..000000000
--- a/StandardControls/StandardControls/Resources/Layout/DatePickerDialog.axml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/EditText.axml b/StandardControls/StandardControls/Resources/Layout/EditText.axml
deleted file mode 100644
index a4e5eaf2b..000000000
--- a/StandardControls/StandardControls/Resources/Layout/EditText.axml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/FrameLayout.axml b/StandardControls/StandardControls/Resources/Layout/FrameLayout.axml
deleted file mode 100644
index 7328ae712..000000000
--- a/StandardControls/StandardControls/Resources/Layout/FrameLayout.axml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/Gallery.axml b/StandardControls/StandardControls/Resources/Layout/Gallery.axml
deleted file mode 100644
index 963230ffd..000000000
--- a/StandardControls/StandardControls/Resources/Layout/Gallery.axml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/GridView.axml b/StandardControls/StandardControls/Resources/Layout/GridView.axml
deleted file mode 100644
index e0fb6773d..000000000
--- a/StandardControls/StandardControls/Resources/Layout/GridView.axml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/Home.axml b/StandardControls/StandardControls/Resources/Layout/Home.axml
deleted file mode 100644
index 16cc8c798..000000000
--- a/StandardControls/StandardControls/Resources/Layout/Home.axml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/HomeSectionHeader.axml b/StandardControls/StandardControls/Resources/Layout/HomeSectionHeader.axml
deleted file mode 100644
index 87d7a028f..000000000
--- a/StandardControls/StandardControls/Resources/Layout/HomeSectionHeader.axml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/HorizontalLinearLayout.axml b/StandardControls/StandardControls/Resources/Layout/HorizontalLinearLayout.axml
deleted file mode 100644
index 88c8dc7b0..000000000
--- a/StandardControls/StandardControls/Resources/Layout/HorizontalLinearLayout.axml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/HorizontalLinearLayoutWeight.axml b/StandardControls/StandardControls/Resources/Layout/HorizontalLinearLayoutWeight.axml
deleted file mode 100644
index 60b7a0765..000000000
--- a/StandardControls/StandardControls/Resources/Layout/HorizontalLinearLayoutWeight.axml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/HorizontalScrollView.axml b/StandardControls/StandardControls/Resources/Layout/HorizontalScrollView.axml
deleted file mode 100644
index 922f0b542..000000000
--- a/StandardControls/StandardControls/Resources/Layout/HorizontalScrollView.axml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/ImageView.axml b/StandardControls/StandardControls/Resources/Layout/ImageView.axml
deleted file mode 100644
index c12da4908..000000000
--- a/StandardControls/StandardControls/Resources/Layout/ImageView.axml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/LinearLayout.axml b/StandardControls/StandardControls/Resources/Layout/LinearLayout.axml
deleted file mode 100644
index 93cd946ed..000000000
--- a/StandardControls/StandardControls/Resources/Layout/LinearLayout.axml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/LinearLayoutWeight.axml b/StandardControls/StandardControls/Resources/Layout/LinearLayoutWeight.axml
deleted file mode 100644
index c0075fe01..000000000
--- a/StandardControls/StandardControls/Resources/Layout/LinearLayoutWeight.axml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/OptionsMenu.axml b/StandardControls/StandardControls/Resources/Layout/OptionsMenu.axml
deleted file mode 100644
index 423aaa161..000000000
--- a/StandardControls/StandardControls/Resources/Layout/OptionsMenu.axml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/ProgressBar.axml b/StandardControls/StandardControls/Resources/Layout/ProgressBar.axml
deleted file mode 100644
index 058687c1f..000000000
--- a/StandardControls/StandardControls/Resources/Layout/ProgressBar.axml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/ProgressDialog.axml b/StandardControls/StandardControls/Resources/Layout/ProgressDialog.axml
deleted file mode 100644
index c07ab8775..000000000
--- a/StandardControls/StandardControls/Resources/Layout/ProgressDialog.axml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/RadioGroup.axml b/StandardControls/StandardControls/Resources/Layout/RadioGroup.axml
deleted file mode 100644
index 7432fa35a..000000000
--- a/StandardControls/StandardControls/Resources/Layout/RadioGroup.axml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/RatingBar.axml b/StandardControls/StandardControls/Resources/Layout/RatingBar.axml
deleted file mode 100644
index 1cfbb8a80..000000000
--- a/StandardControls/StandardControls/Resources/Layout/RatingBar.axml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/RelativeLayout.axml b/StandardControls/StandardControls/Resources/Layout/RelativeLayout.axml
deleted file mode 100644
index e5eab1a95..000000000
--- a/StandardControls/StandardControls/Resources/Layout/RelativeLayout.axml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/ScrollView.axml b/StandardControls/StandardControls/Resources/Layout/ScrollView.axml
deleted file mode 100644
index 0807ccb29..000000000
--- a/StandardControls/StandardControls/Resources/Layout/ScrollView.axml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/Spinner.axml b/StandardControls/StandardControls/Resources/Layout/Spinner.axml
deleted file mode 100644
index 3c20e0a7a..000000000
--- a/StandardControls/StandardControls/Resources/Layout/Spinner.axml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/TabLayout.axml b/StandardControls/StandardControls/Resources/Layout/TabLayout.axml
deleted file mode 100644
index 917700cfc..000000000
--- a/StandardControls/StandardControls/Resources/Layout/TabLayout.axml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/TableLayout.axml b/StandardControls/StandardControls/Resources/Layout/TableLayout.axml
deleted file mode 100644
index e446c4059..000000000
--- a/StandardControls/StandardControls/Resources/Layout/TableLayout.axml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Layout/TextView.axml b/StandardControls/StandardControls/Resources/Layout/TextView.axml
deleted file mode 100644
index 7587ccded..000000000
--- a/StandardControls/StandardControls/Resources/Layout/TextView.axml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/TimePickerDialog.axml b/StandardControls/StandardControls/Resources/Layout/TimePickerDialog.axml
deleted file mode 100644
index 12ff81321..000000000
--- a/StandardControls/StandardControls/Resources/Layout/TimePickerDialog.axml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/Toast.axml b/StandardControls/StandardControls/Resources/Layout/Toast.axml
deleted file mode 100644
index 322d7b0b7..000000000
--- a/StandardControls/StandardControls/Resources/Layout/Toast.axml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Layout/ToastCustom.axml b/StandardControls/StandardControls/Resources/Layout/ToastCustom.axml
deleted file mode 100644
index cbc5f2562..000000000
--- a/StandardControls/StandardControls/Resources/Layout/ToastCustom.axml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
diff --git a/StandardControls/StandardControls/Resources/Values/Colors.xml b/StandardControls/StandardControls/Resources/Values/Colors.xml
deleted file mode 100644
index 2531cb234..000000000
--- a/StandardControls/StandardControls/Resources/Values/Colors.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- #00000000
- #000000
- #bbbbbb
- #333333
- #ffffff
-
- #FFD800
-
- #ff0000
-
- #2A3748
-
-
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Resources/Values/Strings.xml b/StandardControls/StandardControls/Resources/Values/Strings.xml
deleted file mode 100644
index ebe92e316..000000000
--- a/StandardControls/StandardControls/Resources/Values/Strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Hello World, Click Me!
- TablesAndCellStyles
-
diff --git a/StandardControls/StandardControls/Resources/drawable-hdpi/icon.png b/StandardControls/StandardControls/Resources/drawable-hdpi/icon.png
deleted file mode 100755
index 2e6ef769f..000000000
Binary files a/StandardControls/StandardControls/Resources/drawable-hdpi/icon.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/drawable-ldpi/icon.png b/StandardControls/StandardControls/Resources/drawable-ldpi/icon.png
deleted file mode 100755
index 183f3095e..000000000
Binary files a/StandardControls/StandardControls/Resources/drawable-ldpi/icon.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/drawable-mdpi/icon.png b/StandardControls/StandardControls/Resources/drawable-mdpi/icon.png
deleted file mode 100755
index edefb8b57..000000000
Binary files a/StandardControls/StandardControls/Resources/drawable-mdpi/icon.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/drawable-xhdpi/icon.png b/StandardControls/StandardControls/Resources/drawable-xhdpi/icon.png
deleted file mode 100755
index de4bbc0d9..000000000
Binary files a/StandardControls/StandardControls/Resources/drawable-xhdpi/icon.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Resources/drawable-xxhdpi/icon.png b/StandardControls/StandardControls/Resources/drawable-xxhdpi/icon.png
deleted file mode 100755
index 5e5182b38..000000000
Binary files a/StandardControls/StandardControls/Resources/drawable-xxhdpi/icon.png and /dev/null differ
diff --git a/StandardControls/StandardControls/Screens/ContentControls/GalleryScreen.cs b/StandardControls/StandardControls/Screens/ContentControls/GalleryScreen.cs
deleted file mode 100644
index 2c00b4274..000000000
--- a/StandardControls/StandardControls/Screens/ContentControls/GalleryScreen.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "Gallery")]
- public class GalleryScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.Gallery);
-
- Gallery gallery = (Gallery)FindViewById(Resource.Id.Gallery);
-
- gallery.Adapter = new ImageAdapter(this);
-
- gallery.ItemClick += delegate(object sender, AdapterView.ItemClickEventArgs args) {
- Toast.MakeText(this, args.Position.ToString(), ToastLength.Short).Show();
- };
- }
-
- public class ImageAdapter : BaseAdapter {
- Context context;
-
- public ImageAdapter(Context c)
- {
- context = c;
- }
-
- public override int Count { get { return thumbIds.Length; } }
-
- public override Java.Lang.Object GetItem(int position)
- {
- return null;
- }
-
- public override long GetItemId(int position)
- {
- return 0;
- }
-
- // create a new ImageView for each item referenced by the Adapter
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- ImageView i = new ImageView(context);
-
- i.SetImageResource(thumbIds[position]);
- i.LayoutParameters = new Gallery.LayoutParams(240, 160);
- i.SetScaleType(ImageView.ScaleType.FitXy);
-
- return i;
- }
-
- // references to our images
- int[] thumbIds = {
- Resource.Drawable.Beach
- , Resource.Drawable.Plants
- , Resource.Drawable.Seeds
- , Resource.Drawable.Shanghai
- };
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/ContentControls/GridViewScreen.cs b/StandardControls/StandardControls/Screens/ContentControls/GridViewScreen.cs
deleted file mode 100644
index dd60e1b66..000000000
--- a/StandardControls/StandardControls/Screens/ContentControls/GridViewScreen.cs
+++ /dev/null
@@ -1,84 +0,0 @@
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "GridView")]
- public class GridViewScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.GridView);
-
- var gridview = FindViewById(Resource.Id.Grid);
- gridview.Adapter = new ImageAdapter(this);
-
- gridview.ItemClick += delegate(object sender, AdapterView.ItemClickEventArgs args) {
- Toast.MakeText(this, args.Position.ToString(), ToastLength.Short).Show();
- };
- }
-
- public class ImageAdapter : BaseAdapter {
- Context context;
-
- public ImageAdapter(Context c)
- {
- context = c;
- }
-
- public override int Count
- {
- get { return thumbIds.Length; }
- }
-
- public override Java.Lang.Object GetItem(int position)
- {
- return null;
- }
-
- public override long GetItemId(int position)
- {
- return 0;
- }
-
- // create a new ImageView for each item referenced by the Adapter
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- ImageView imageView;
-
- if (convertView == null) { // if it's not recycled, initialize some attributes
- imageView = new ImageView(context);
- imageView.LayoutParameters = new GridView.LayoutParams(120, 80); // images are all the same dimension
- imageView.SetScaleType(ImageView.ScaleType.CenterCrop);
- imageView.SetPadding(8, 8, 8, 8);
- } else {
- imageView = (ImageView)convertView;
- }
-
- imageView.SetImageResource(thumbIds[position]);
- return imageView;
- }
-
- // references to our images
- int[] thumbIds = {
- Resource.Drawable.Beach, Resource.Drawable.Plants,
- Resource.Drawable.Seeds, Resource.Drawable.Shanghai,
- Resource.Drawable.Beach, Resource.Drawable.Plants,
- Resource.Drawable.Seeds, Resource.Drawable.Shanghai,
- Resource.Drawable.Beach, Resource.Drawable.Plants,
- Resource.Drawable.Seeds, Resource.Drawable.Shanghai,
- Resource.Drawable.Beach, Resource.Drawable.Plants,
- Resource.Drawable.Seeds, Resource.Drawable.Shanghai,
- Resource.Drawable.Beach, Resource.Drawable.Plants,
- Resource.Drawable.Seeds, Resource.Drawable.Shanghai,
- Resource.Drawable.Beach, Resource.Drawable.Plants
- };
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/ContentControls/HorizontalScrollViewScreen.cs b/StandardControls/StandardControls/Screens/ContentControls/HorizontalScrollViewScreen.cs
deleted file mode 100644
index 641f2098f..000000000
--- a/StandardControls/StandardControls/Screens/ContentControls/HorizontalScrollViewScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "HorizontalScrollView")]
- public class HorizontalScrollViewScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.HorizontalScrollView);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/ContentControls/ImageViewScreen.cs b/StandardControls/StandardControls/Screens/ContentControls/ImageViewScreen.cs
deleted file mode 100644
index f0b7553c8..000000000
--- a/StandardControls/StandardControls/Screens/ContentControls/ImageViewScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "ImageView")]
- public class ImageViewScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.ImageView);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/ContentControls/ScrollViewScreen.cs b/StandardControls/StandardControls/Screens/ContentControls/ScrollViewScreen.cs
deleted file mode 100644
index f74e097bd..000000000
--- a/StandardControls/StandardControls/Screens/ContentControls/ScrollViewScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "ScrollView")]
- public class ScrollViewScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.ScrollView);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/FormControls/AutoCompleteTextViewScreen.cs b/StandardControls/StandardControls/Screens/FormControls/AutoCompleteTextViewScreen.cs
deleted file mode 100644
index 1cf2f9eef..000000000
--- a/StandardControls/StandardControls/Screens/FormControls/AutoCompleteTextViewScreen.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "AutoCompleteTextView")]
- public class AutoCompleteTextViewScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.AutoCompleteTextView);
-
- AutoCompleteTextView act = FindViewById < AutoCompleteTextView>(Resource.Id.AutoCompleteInput);
- ArrayAdapter arr = new ArrayAdapter(this, Android.Resource.Layout.SimpleDropDownItem1Line
- , new String[] { "Hello", "Hi", "Hola", "Bonjour", "Gday", "Goodbye", "Sayonara", "Farewell", "Adios"});
- act.Adapter = arr;
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/FormControls/ButtonScreenScreen.cs b/StandardControls/StandardControls/Screens/FormControls/ButtonScreenScreen.cs
deleted file mode 100644
index 04920e738..000000000
--- a/StandardControls/StandardControls/Screens/FormControls/ButtonScreenScreen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "Button")]
- public class ButtonScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.Button);
-
- var normalButton = FindViewById(Resource.Id.NormalButton);
- normalButton.Click += (sender, args) => {
- Toast.MakeText(this, "Normal button clicked", ToastLength.Short).Show();
- };
-
- var imageButton = FindViewById(Resource.Id.ImageButton);
- imageButton.Click += (sender, args) => {
- Toast.MakeText(this, "Image button clicked", ToastLength.Short).Show();
- };
-
- var toggleButton = FindViewById(Resource.Id.ToggleButton);
- toggleButton.Click += (sender, args) => {
- Toast.MakeText(this, "Toggle button checked=" + toggleButton.Checked, ToastLength.Short).Show();
- };
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/FormControls/CheckBoxScreenScreen.cs b/StandardControls/StandardControls/Screens/FormControls/CheckBoxScreenScreen.cs
deleted file mode 100644
index b246922d6..000000000
--- a/StandardControls/StandardControls/Screens/FormControls/CheckBoxScreenScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "CheckBox")]
- public class CheckBoxScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.CheckBox);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/FormControls/EditTextScreen.cs b/StandardControls/StandardControls/Screens/FormControls/EditTextScreen.cs
deleted file mode 100644
index e6f1a85ca..000000000
--- a/StandardControls/StandardControls/Screens/FormControls/EditTextScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "EditText")]
- public class EditTextScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.EditText);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/FormControls/RadioGroupScreenScreen.cs b/StandardControls/StandardControls/Screens/FormControls/RadioGroupScreenScreen.cs
deleted file mode 100644
index 0fabfc4e6..000000000
--- a/StandardControls/StandardControls/Screens/FormControls/RadioGroupScreenScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "RadioGroup")]
- public class RadioGroupScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.RadioGroup);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/FormControls/RatingBarScreenScreen.cs b/StandardControls/StandardControls/Screens/FormControls/RatingBarScreenScreen.cs
deleted file mode 100644
index 35b7e96de..000000000
--- a/StandardControls/StandardControls/Screens/FormControls/RatingBarScreenScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "RatingBar")]
- public class RatingBarScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.RatingBar);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/FormControls/TextViewScreen.cs b/StandardControls/StandardControls/Screens/FormControls/TextViewScreen.cs
deleted file mode 100644
index febeb74db..000000000
--- a/StandardControls/StandardControls/Screens/FormControls/TextViewScreen.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using Android.App;
-using Android.OS;
-using Android.Text;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "TextView")]
- public class TextViewScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.TextView);
-
- var stv = FindViewById(Resource.Id.StyledTextView);
- var html = Html.FromHtml("Hello there , how are you today? (html formatted )");
-
- stv.TextFormatted = html;
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Layouts/FrameLayoutScreen.cs b/StandardControls/StandardControls/Screens/Layouts/FrameLayoutScreen.cs
deleted file mode 100644
index e59b1eee0..000000000
--- a/StandardControls/StandardControls/Screens/Layouts/FrameLayoutScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "FrameLayout")]
- public class FrameLayoutScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.FrameLayout);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Layouts/HorizontalLinearLayoutScreen.cs b/StandardControls/StandardControls/Screens/Layouts/HorizontalLinearLayoutScreen.cs
deleted file mode 100644
index 38532ad34..000000000
--- a/StandardControls/StandardControls/Screens/Layouts/HorizontalLinearLayoutScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "HorizontalLinearLayout")]
- public class HorizontalLinearLayoutScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.HorizontalLinearLayout);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Layouts/HorizontalLinearLayoutWeightScreen.cs b/StandardControls/StandardControls/Screens/Layouts/HorizontalLinearLayoutWeightScreen.cs
deleted file mode 100644
index 39fe43f9b..000000000
--- a/StandardControls/StandardControls/Screens/Layouts/HorizontalLinearLayoutWeightScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "HorizontalLinearLayoutWeight")]
- public class HorizontalLinearLayoutWeightScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.HorizontalLinearLayoutWeight);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Layouts/LinearLayoutScreen.cs b/StandardControls/StandardControls/Screens/Layouts/LinearLayoutScreen.cs
deleted file mode 100644
index 858d14cd3..000000000
--- a/StandardControls/StandardControls/Screens/Layouts/LinearLayoutScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "LinearLayout")]
- public class LinearLayoutScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.LinearLayout);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Layouts/LinearLayoutWeightScreen.cs b/StandardControls/StandardControls/Screens/Layouts/LinearLayoutWeightScreen.cs
deleted file mode 100644
index 8a2f3256d..000000000
--- a/StandardControls/StandardControls/Screens/Layouts/LinearLayoutWeightScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "LinearLayoutWeight")]
- public class LinearLayoutWeightScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.LinearLayoutWeight);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Layouts/RelativeLayoutScreen.cs b/StandardControls/StandardControls/Screens/Layouts/RelativeLayoutScreen.cs
deleted file mode 100644
index f93a7e351..000000000
--- a/StandardControls/StandardControls/Screens/Layouts/RelativeLayoutScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "RelativeLayout")]
- public class RelativeLayoutScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.RelativeLayout);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Layouts/TabLayoutScreen.cs b/StandardControls/StandardControls/Screens/Layouts/TabLayoutScreen.cs
deleted file mode 100644
index 8748c479b..000000000
--- a/StandardControls/StandardControls/Screens/Layouts/TabLayoutScreen.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Widget;
-
-namespace StandardControls {
- [Activity(Label = "Tab Layout", Theme = "@android:style/Theme.NoTitleBar")]
- public class TabLayoutScreen : TabActivity {
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate (bundle);
- SetContentView (Resource.Layout.TabLayout);
-
- TabHost.TabSpec spec; // Resusable TabSpec for each tab
- Intent intent; // Reusable Intent for each tab
-
- // Create an Intent to launch an Activity for the tab (to be reused)
- intent = new Intent (this, typeof (ArtistsActivity));
- intent.AddFlags (ActivityFlags.NewTask);
-
- // Initialize a TabSpec for each tab and add it to the TabHost
- spec = TabHost.NewTabSpec ("artists");
- spec.SetIndicator ("Artists", Resources.GetDrawable (Resource.Drawable.ic_tab_artists));
- spec.SetContent (intent);
- TabHost.AddTab (spec);
-
- // Do the same for the other tabs
- intent = new Intent (this, typeof (AlbumsActivity));
- intent.AddFlags (ActivityFlags.NewTask);
-
- spec = TabHost.NewTabSpec ("albums");
- spec.SetIndicator ("Albums", Resources.GetDrawable (Resource.Drawable.ic_tab_artists));
- spec.SetContent (intent);
- TabHost.AddTab (spec);
-
- intent = new Intent (this, typeof (SongsActivity));
- intent.AddFlags (ActivityFlags.NewTask);
-
- spec = TabHost.NewTabSpec ("songs");
- spec.SetIndicator ("Songs", Resources.GetDrawable (Resource.Drawable.ic_tab_artists));
- spec.SetContent (intent);
- TabHost.AddTab (spec);
-
- TabHost.CurrentTab = 2;
- }
-
- [Activity]
- public class ArtistsActivity : Activity
- {
- protected override void OnCreate (Bundle savedInstanceState)
- {
- base.OnCreate (savedInstanceState);
-
- TextView textview = new TextView (this);
- textview.Text = "This is the Artists tab";
- SetContentView (textview);
- }
- }
-
- [Activity]
- public class AlbumsActivity : Activity
- {
- protected override void OnCreate (Bundle savedInstanceState)
- {
- base.OnCreate (savedInstanceState);
-
- TextView textview = new TextView (this);
- textview.Text = "This is the Albums tab";
- SetContentView (textview);
- }
- }
-
- [Activity]
- public class SongsActivity : Activity
- {
- protected override void OnCreate (Bundle savedInstanceState)
- {
- base.OnCreate (savedInstanceState);
-
- TextView textview = new TextView (this);
- textview.Text = "This is the Songs tab";
- SetContentView (textview);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Screens/Layouts/TableLayoutScreen.cs b/StandardControls/StandardControls/Screens/Layouts/TableLayoutScreen.cs
deleted file mode 100644
index 3f8d82402..000000000
--- a/StandardControls/StandardControls/Screens/Layouts/TableLayoutScreen.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Android.App;
-using Android.OS;
-
-namespace StandardControls {
-
- [Activity(Label = "TableLayout")]
- public class TableLayoutScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.TableLayout);
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Menus/ContextMenuScreen.cs b/StandardControls/StandardControls/Screens/Menus/ContextMenuScreen.cs
deleted file mode 100644
index 1f0c0ef44..000000000
--- a/StandardControls/StandardControls/Screens/Menus/ContextMenuScreen.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "ContextMenu")]
- public class ContextMenuScreen : Activity {
-
- TextView contextMenuText;
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.ContextMenu);
-
- contextMenuText = FindViewById(Resource.Id.ContextMenuText);
- RegisterForContextMenu(contextMenuText);
- }
-
- public override void OnCreateContextMenu(IContextMenu menu, View v, IContextMenuContextMenuInfo info)
- {
- menu.SetHeaderTitle("Context Menu");
- menu.Add(0, 0, 0, "Text version 1");
- menu.Add(0, 1, 0, "Text version 2");
- }
-
- public override bool OnContextItemSelected(IMenuItem item)
- {
- switch (item.ItemId) {
- case 0:
- contextMenuText.Text = "Context menu changed text 1";
- ContextItemClicked(item.TitleFormatted.ToString()); break;
- case 1:
- contextMenuText.Text = "Context menu changed text 2";
- ContextItemClicked(item.TitleFormatted.ToString()); break;
- }
- return base.OnOptionsItemSelected(item);
- }
-
- void ContextItemClicked(string item)
- {
- Console.WriteLine(item + " option menuitem clicked");
- var t = Toast.MakeText(this, "Options Menu '"+item+"' clicked", ToastLength.Short);
- t.Show();
- }
- }
-}
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Screens/Menus/OptionsLongMenuScreen.cs b/StandardControls/StandardControls/Screens/Menus/OptionsLongMenuScreen.cs
deleted file mode 100644
index ebf8f7a06..000000000
--- a/StandardControls/StandardControls/Screens/Menus/OptionsLongMenuScreen.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "OptionsLongMenu")]
- public class OptionsLongMenuScreen : Activity { //, IMenuItemOnMenuItemClickListener {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.OptionsMenu);
- }
-
- public override bool OnCreateOptionsMenu(IMenu menu)
- {
- // GroupId, ItemId, OrderId
- menu.Add(0, 0, 0, "Item 1").SetIcon(Android.Resource.Drawable.IcDialogEmail);
- menu.Add(0, 1, 1, "Item 2").SetIcon(Resource.Drawable.icon);
- menu.Add(0, 2, 2, "Item 3").SetIcon(Android.Resource.Drawable.IcDialogMap);
- menu.Add(0, 3, 3, "Item 4").SetIcon(Android.Resource.Drawable.IcDialogInfo);
- menu.Add(0, 4, 4, "Item 5").SetIcon(Android.Resource.Drawable.IcMenuCamera);
- menu.Add(0, 5, 5, "Item 6").SetIcon(Android.Resource.Drawable.IcInputAdd);
- menu.Add(0, 6, 6, "Item 7").SetIcon(Android.Resource.Drawable.IcMenuAdd);
- menu.Add(0, 7, 7, "Item 8").SetIcon(Resource.Drawable.Beach); ;
- return true;
- }
-
- //public bool OnMenuItemClick(IMenuItem item)
- //{
- // var id = item.ItemId;
- // Console.WriteLine(id + " option menuitem clicked");
- // var t = Toast.MakeText(this, "Options Menu '"+id+"' clicked", ToastLength.Short);
- // t.SetGravity(GravityFlags.Top, 0, 0);
- // t.Show();
- // return false; // do not execute any other callbacks
- //}
-
- public override bool OnOptionsItemSelected(IMenuItem item)
- {
- // Console.WriteLine("Shouldn't get called, unless OnMenuItemClick returns 'true'");
-
- var id = item.ItemId + 1; // (Id is zero-based :)
- Console.WriteLine(id + " option menuitem clicked");
- var t = Toast.MakeText(this, "Options Menu '" + id + "' clicked", ToastLength.Short);
- t.SetGravity(GravityFlags.Center, 0, 0);
- t.Show();
-
- return true;
- }
- }
-}
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Screens/Menus/OptionsMenuScreen.cs b/StandardControls/StandardControls/Screens/Menus/OptionsMenuScreen.cs
deleted file mode 100644
index e3c013e1f..000000000
--- a/StandardControls/StandardControls/Screens/Menus/OptionsMenuScreen.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "OptionsMenu")]
- public class OptionsMenuScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.OptionsMenu);
- }
-
- public override bool OnCreateOptionsMenu(IMenu menu)
- {
- menu.Add("Item 1");
- menu.Add("Item 2");
- menu.Add("Item 3");
- return true;
- }
-
- public override bool OnOptionsItemSelected(IMenuItem item)
- {
- switch (item.TitleFormatted.ToString()) {
- case "Item 1":
- MenuItemClicked(item.TitleFormatted.ToString()); break;
- case "Item 2":
- MenuItemClicked(item.TitleFormatted.ToString()); break;
- case "Item 3":
- MenuItemClicked(item.TitleFormatted.ToString()); break;
- }
- return base.OnOptionsItemSelected(item);
- }
-
- void MenuItemClicked(string item)
- {
- Console.WriteLine(item + " option menuitem clicked");
- var t = Toast.MakeText(this, "Options Menu '"+item+"' clicked", ToastLength.Short);
- t.SetGravity(GravityFlags.Center, 0, 0);
- t.Show();
- }
- }
-}
\ No newline at end of file
diff --git a/StandardControls/StandardControls/Screens/Pickers/DatePickerDialogScreen.cs b/StandardControls/StandardControls/Screens/Pickers/DatePickerDialogScreen.cs
deleted file mode 100644
index 94c43f47c..000000000
--- a/StandardControls/StandardControls/Screens/Pickers/DatePickerDialogScreen.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "DatePickerDialog")]
- public class DatePickerDialogScreen : Activity {
-
- private TextView dateDisplay;
- private Button pickDate;
- private DateTime date;
-
- const int DATE_DIALOG_ID = 0;
-
- protected override void OnCreate(Bundle savedInstanceState)
- {
- base.OnCreate(savedInstanceState);
- SetContentView(Resource.Layout.DatePickerDialog);
-
- // capture our View elements
- dateDisplay = FindViewById(Resource.Id.dateDisplay);
- pickDate = FindViewById(Resource.Id.pickDate);
-
- // add a click event handler to the button
- pickDate.Click += delegate { ShowDialog(DATE_DIALOG_ID); };
-
- // get the current date
- date = DateTime.Today;
-
- // display the current date (this method is below)
- UpdateDisplay();
- }
-
- // updates the date in the TextView
- private void UpdateDisplay()
- {
- dateDisplay.Text = date.ToString("d");
- }
-
- // the event received when the user "sets" the date in the dialog
- void OnDateSet(object sender, DatePickerDialog.DateSetEventArgs e)
- {
- this.date = e.Date;
- UpdateDisplay();
- }
-
- protected override Dialog OnCreateDialog(int id)
- {
- switch (id) {
- case DATE_DIALOG_ID:
- return new DatePickerDialog(this, OnDateSet, date.Year, date.Month - 1, date.Day);
- }
- return null;
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Pickers/SpinnerScreen.cs b/StandardControls/StandardControls/Screens/Pickers/SpinnerScreen.cs
deleted file mode 100644
index edfafc15a..000000000
--- a/StandardControls/StandardControls/Screens/Pickers/SpinnerScreen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "Spinner")]
- public class SpinnerScreen : Activity {
-
- String[] items = new String[] { "Cupcake", "Donut", "Eclair", "Froyo", "Gingerbread", "Ice Cream Sandwich", "Jellybean", "Key Lime Pie"};
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.Spinner);
-
- ArrayAdapter ad = new ArrayAdapter(this, Android.Resource.Layout.SimpleSpinnerItem, items);
- ad.SetDropDownViewResource(Android.Resource.Layout.SimpleSpinnerDropDownItem);
- Spinner spinner = FindViewById(Resource.Id.Spinner);
- spinner.Adapter = ad;
- spinner.ItemSelected += (sender, e) => {
- var s = sender as Spinner;
- Toast.MakeText(this, "My favorite is " + s.GetItemAtPosition(e.Position), ToastLength.Short).Show();
- };
-
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Pickers/TimePickerDialogScreen.cs b/StandardControls/StandardControls/Screens/Pickers/TimePickerDialogScreen.cs
deleted file mode 100644
index 3eb371e41..000000000
--- a/StandardControls/StandardControls/Screens/Pickers/TimePickerDialogScreen.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "TimePickerDialog")]
- public class TimePickerDialogScreen : Activity {
-
- private TextView time_display;
- private Button pick_button;
-
- private int hour;
- private int minute;
-
- const int TIME_DIALOG_ID = 0;
-
- protected override void OnCreate(Bundle savedInstanceState)
- {
- base.OnCreate(savedInstanceState);
-
- // Set our view from the "Main" layout resource
- SetContentView(Resource.Layout.TimePickerDialog);
-
- // Capture our View elements
- time_display = FindViewById(Resource.Id.timeDisplay);
- pick_button = FindViewById(Resource.Id.pickTime);
-
- // Add a click listener to the button
- pick_button.Click += (o, e) => ShowDialog(TIME_DIALOG_ID);
-
- // Get the current time
- hour = DateTime.Now.Hour;
- minute = DateTime.Now.Minute;
-
- // Display the current date
- UpdateDisplay();
- }
-
- // Updates the time we display in the TextView
- private void UpdateDisplay()
- {
- string time = string.Format("{0}:{1}", hour, minute.ToString().PadLeft(2, '0'));
- time_display.Text = time;
- }
-
- private void TimePickerCallback(object sender, TimePickerDialog.TimeSetEventArgs e)
- {
- hour = e.HourOfDay;
- minute = e.Minute;
- UpdateDisplay();
- }
-
- protected override Dialog OnCreateDialog(int id)
- {
- if (id == TIME_DIALOG_ID)
- return new TimePickerDialog(this, TimePickerCallback, hour, minute, false);
-
- return null;
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Popups/AlertScreen.cs b/StandardControls/StandardControls/Screens/Popups/AlertScreen.cs
deleted file mode 100644
index 6b378e127..000000000
--- a/StandardControls/StandardControls/Screens/Popups/AlertScreen.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "Alert")]
- public class AlertScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.Alert);
-
- var simpleButton = FindViewById(Resource.Id.SimpleAlertButton);
- simpleButton.Click += (sender, args) => {
- Android.App.AlertDialog.Builder builder = new AlertDialog.Builder(this);
- AlertDialog ad = builder.Create();
- ad.SetTitle("An Alert");
- ad.SetIcon(Android.Resource.Drawable.IcDialogAlert);
- ad.SetMessage("Alert message...");
- ad.SetButton("OK", (s,e) => { Console.WriteLine("OK Button clicked, alert dismissed"); });
- ad.Show();
- };
-
- var complexButton = FindViewById(Resource.Id.ComplexAlertButton);
- complexButton.Click += (sender, args) => {
- Android.App.AlertDialog.Builder builder = new AlertDialog.Builder(this);
- AlertDialog ad = builder.Create();
- ad.SetTitle("An Alert");
- ad.SetIcon(Resource.Drawable.icon);
- ad.SetMessage("Alert message...");
- // Positive
- ad.SetButton("OK", (s, e) => { Console.WriteLine("OK button clicked, alert dismissed"); });
- // Negative
- ad.SetButton2("Cancel", (s, e) => { Console.WriteLine("Cancel button clicked, alert dismissed"); });
- // Neutral
- ad.SetButton3("Middle ground", (s, e) => { Console.WriteLine("Middle button clicked, alert dismissed"); });
- ad.Show();
- };
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/Popups/ToastScreen.cs b/StandardControls/StandardControls/Screens/Popups/ToastScreen.cs
deleted file mode 100644
index 25597bc5e..000000000
--- a/StandardControls/StandardControls/Screens/Popups/ToastScreen.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "Toast")]
- public class ToastScreen : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.Toast);
-
- var shortButton = FindViewById(Resource.Id.ShortToastButton);
- shortButton.Click += (sender, args) => {
- Toast.MakeText(this, "Short toast message", ToastLength.Short).Show();
- };
-
- var longButton = FindViewById(Resource.Id.LongToastButton);
- longButton.Click += (sender, args) => {
- Toast.MakeText(this, "Longer toast duration because you need extra time if there's more to read", ToastLength.Long).Show();
- };
-
- var topButton = FindViewById(Resource.Id.TopToastButton);
- topButton.Click += (sender, args) => {
- var t = Toast.MakeText(this, "Wow this toast appears near the top", ToastLength.Short);
- t.SetGravity(GravityFlags.Top, 0, 200);
- t.Show();
- };
-
- var customButton = FindViewById(Resource.Id.CustomToastButton);
- customButton.Click += (sender, args) => {
- var toastView = LayoutInflater.Inflate(Resource.Layout.ToastCustom, FindViewById(Resource.Id.ToastLayout));
- toastView.FindViewById(Resource.Id.ToastText).Text = "REALLY OBVIOUS TOAST @ " + DateTime.Now.ToShortTimeString();
- var t = new Toast(this);
- t.SetGravity(GravityFlags.Center, 0, 0);
- t.View = toastView;
- t.Show();
- };
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/ProgressControls/ProgressBarScreen.cs b/StandardControls/StandardControls/Screens/ProgressControls/ProgressBarScreen.cs
deleted file mode 100644
index d2688a16d..000000000
--- a/StandardControls/StandardControls/Screens/ProgressControls/ProgressBarScreen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System.Threading;
-using Android.App;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "ProgressBar")]
- public class ProgressBarScreen : Activity {
-
- ProgressBar progress;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.ProgressBar);
-
- progress = FindViewById(Resource.Id.ProgressBar);
-
- new Thread(new ThreadStart(() => {
- for (int i = 0; i <= 100; i++) {
- this.RunOnUiThread ( () => {
- progress.Progress = i;
- });
- Thread.Sleep(30);
- }
-
- this.RunOnUiThread(() => {
- FindViewById(Resource.Id.Text1).Text = "";
- FindViewById(Resource.Id.Text2).Text = "...and we're done!";
- FindViewById(Resource.Id.ProgressCircle).ClearAnimation();
- FindViewById(Resource.Id.ProgressCircle).Visibility = ViewStates.Invisible;
- });
- })).Start();
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/Screens/ProgressControls/ProgressDialogScreen.cs b/StandardControls/StandardControls/Screens/ProgressControls/ProgressDialogScreen.cs
deleted file mode 100644
index 01c6c5657..000000000
--- a/StandardControls/StandardControls/Screens/ProgressControls/ProgressDialogScreen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System.Threading;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace StandardControls {
-
- [Activity(Label = "ProgressDialog")]
- public class ProgressDialogScreen : Activity {
-
- ProgressDialog progress;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- SetContentView(Resource.Layout.ProgressDialog);
-
- progress = ProgressDialog.Show(this, "Loading...", "Please Wait (about 4 seconds)", true);
-
- new Thread(new ThreadStart(() => {
- Thread.Sleep(4 * 1000);
- this.RunOnUiThread ( () => {
- FindViewById(Resource.Id.Text1).Text = "...and we're done!";
- progress.Dismiss();
- });
- })).Start();
- }
- }
-}
-
diff --git a/StandardControls/StandardControls/StandardControls.csproj b/StandardControls/StandardControls/StandardControls.csproj
deleted file mode 100644
index d45c26bfd..000000000
--- a/StandardControls/StandardControls/StandardControls.csproj
+++ /dev/null
@@ -1,227 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.30703
- 2.0
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}
- {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- Library
- Properties
- StandardControls
- StandardControls
- 512
- true
- Resources\Resource.Designer.cs
- Off
- Properties\AndroidManifest.xml
- False
- armeabi
-
-
-
-
- True
- full
- False
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- None
-
-
- pdbonly
- True
- bin\Release\
- TRACE
- prompt
- 4
- False
- SdkOnly
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/StandardControls/movedto.md b/StandardControls/movedto.md
new file mode 100644
index 000000000..ba966f682
--- /dev/null
+++ b/StandardControls/movedto.md
@@ -0,0 +1 @@
+https://github.com/xamarin/mobile-samples/tree/master/StandardControls
\ No newline at end of file
diff --git a/TablesAndCellStyles/Metadata.xml b/TablesAndCellStyles/Metadata.xml
deleted file mode 100644
index 033e5b923..000000000
--- a/TablesAndCellStyles/Metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- 66E2E31F-A82F-4192-9A0F-FC424F882018
- false
- Beginning
- User Interface
-
diff --git a/TablesAndCellStyles/README.md b/TablesAndCellStyles/README.md
deleted file mode 100644
index 00e7bef60..000000000
--- a/TablesAndCellStyles/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-Table and Cell Styles
-=====================
-
-This sample illustrates Android's built-in ListView styles and some customizations that are possible.
-
-One of the Activities - Screens/CustomTables/CustomFastScroll - requires API level 11.
-You can set the API level in the Project Properties. You must also uncomment the "CustomFastScroll" style
-in Resources/Values/Styles.xml (since that will not build on earlier versions).
-
-
-Authors
--------
-
-Craig Dunn
\ No newline at end of file
diff --git a/TablesAndCellStyles/Screenshots/ActivityListItem.png b/TablesAndCellStyles/Screenshots/ActivityListItem.png
deleted file mode 100644
index 9f0fe352e..000000000
Binary files a/TablesAndCellStyles/Screenshots/ActivityListItem.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/CustomCell_DateList.png b/TablesAndCellStyles/Screenshots/CustomCell_DateList.png
deleted file mode 100644
index 606e9d591..000000000
Binary files a/TablesAndCellStyles/Screenshots/CustomCell_DateList.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/CustomCell_ImageAndSubtitle.png b/TablesAndCellStyles/Screenshots/CustomCell_ImageAndSubtitle.png
deleted file mode 100644
index 3bb5cc1ee..000000000
Binary files a/TablesAndCellStyles/Screenshots/CustomCell_ImageAndSubtitle.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/CustomTable_CustomFastScroll_API11.png b/TablesAndCellStyles/Screenshots/CustomTable_CustomFastScroll_API11.png
deleted file mode 100644
index cd80b0936..000000000
Binary files a/TablesAndCellStyles/Screenshots/CustomTable_CustomFastScroll_API11.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/CustomTable_CustomIndexer.png b/TablesAndCellStyles/Screenshots/CustomTable_CustomIndexer.png
deleted file mode 100644
index d45ae91f6..000000000
Binary files a/TablesAndCellStyles/Screenshots/CustomTable_CustomIndexer.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/CustomTable_GradientBackground.png b/TablesAndCellStyles/Screenshots/CustomTable_GradientBackground.png
deleted file mode 100644
index 7ea585d64..000000000
Binary files a/TablesAndCellStyles/Screenshots/CustomTable_GradientBackground.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/CustomTable_LabelledSections.png b/TablesAndCellStyles/Screenshots/CustomTable_LabelledSections.png
deleted file mode 100644
index 886672262..000000000
Binary files a/TablesAndCellStyles/Screenshots/CustomTable_LabelledSections.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/CustomTable_LabelledSectionsIndexer.png b/TablesAndCellStyles/Screenshots/CustomTable_LabelledSectionsIndexer.png
deleted file mode 100644
index 9a0c484f9..000000000
Binary files a/TablesAndCellStyles/Screenshots/CustomTable_LabelledSectionsIndexer.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/FastScroll.png b/TablesAndCellStyles/Screenshots/FastScroll.png
deleted file mode 100644
index 561e1ac49..000000000
Binary files a/TablesAndCellStyles/Screenshots/FastScroll.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/Home.png b/TablesAndCellStyles/Screenshots/Home.png
deleted file mode 100644
index 5869ead6c..000000000
Binary files a/TablesAndCellStyles/Screenshots/Home.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/SimpleListItem1.png b/TablesAndCellStyles/Screenshots/SimpleListItem1.png
deleted file mode 100644
index ed0af974d..000000000
Binary files a/TablesAndCellStyles/Screenshots/SimpleListItem1.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/SimpleListItem2.png b/TablesAndCellStyles/Screenshots/SimpleListItem2.png
deleted file mode 100644
index 31789aeb3..000000000
Binary files a/TablesAndCellStyles/Screenshots/SimpleListItem2.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/SimpleListItemChecked.png b/TablesAndCellStyles/Screenshots/SimpleListItemChecked.png
deleted file mode 100644
index 772970fd3..000000000
Binary files a/TablesAndCellStyles/Screenshots/SimpleListItemChecked.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/SimpleListItemMulitpleChoice.png b/TablesAndCellStyles/Screenshots/SimpleListItemMulitpleChoice.png
deleted file mode 100644
index db7cef7d7..000000000
Binary files a/TablesAndCellStyles/Screenshots/SimpleListItemMulitpleChoice.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/SimpleListItemSingleChoice.png b/TablesAndCellStyles/Screenshots/SimpleListItemSingleChoice.png
deleted file mode 100644
index 5b61997a3..000000000
Binary files a/TablesAndCellStyles/Screenshots/SimpleListItemSingleChoice.png and /dev/null differ
diff --git a/TablesAndCellStyles/Screenshots/TwoLineListItem.png b/TablesAndCellStyles/Screenshots/TwoLineListItem.png
deleted file mode 100644
index b420253d9..000000000
Binary files a/TablesAndCellStyles/Screenshots/TwoLineListItem.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles.sln b/TablesAndCellStyles/TablesAndCellStyles.sln
deleted file mode 100644
index a9f00a1a2..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles.sln
+++ /dev/null
@@ -1,22 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TablesAndCellStyles", "TablesAndCellStyles\TablesAndCellStyles.csproj", "{BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.Build.0 = Release|Any CPU
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}.Release|Any CPU.Deploy.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Assets/AboutAssets.txt b/TablesAndCellStyles/TablesAndCellStyles/Assets/AboutAssets.txt
deleted file mode 100644
index ee3988629..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Assets/AboutAssets.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Any raw assets you want to be deployed with your application can be placed in
-this directory (and child directories) and given a Build Action of "AndroidAsset".
-
-These files will be deployed with you package and will be accessible using Android's
-AssetManager, like this:
-
-public class ReadAsset : Activity
-{
- protected override void OnCreate (Bundle bundle)
- {
- base.OnCreate (bundle);
-
- InputStream input = Assets.Open ("my_asset.txt");
- }
-}
-
-Additionally, some Android functions will automatically load asset files:
-
-Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Home.cs b/TablesAndCellStyles/TablesAndCellStyles/Home.cs
deleted file mode 100644
index 53e41339c..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Home.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-
-using Android.App;
-using Android.Content;
-using Android.Runtime;
-using Android.Views;
-using Android.Widget;
-using Android.OS;
-
-namespace TablesAndCellStyles {
- [Activity(Label = "TablesAndCellStyles", MainLauncher = true, Icon = "@drawable/icon")]
- public class Home : ListActivity {
-
- Home_Adapter adapter;
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
- adapter = new Home_Adapter(this);
- ListAdapter = adapter;
-
- //http://www.netmite.com/android/mydroid/frameworks/base/core/res/res/layout/
- //http://developer.android.com/reference/android/R.layout.html#simple_list_item_1
- }
- protected override void OnListItemClick(ListView l, View v, int position, long id)
- {
- var s = adapter[position];
- var sample = new Intent(this, s.Screen);
- this.StartActivity(sample);
- }
- }
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Home_Adapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Home_Adapter.cs
deleted file mode 100644
index 98419fb51..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Home_Adapter.cs
+++ /dev/null
@@ -1,147 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-using Android.Content;
-
-namespace TablesAndCellStyles {
-
- public class Sample {
- public Sample(string name, Type screen)
- {
- Name = name;
- Screen = screen;
- }
- public string Name;
- public Type Screen;
- }
-
- class Header {
- public string Name;
- public int SectionIndex;
- }
-
- public class Home_Adapter : BaseAdapter {
-
- static Dictionary> samples = new Dictionary>() {
- { "Cell Styles", new List() {
- new Sample ("SimpleListItem1", typeof(SimpleListItem1)),
- new Sample ("SimpleListItem2", typeof(SimpleListItem2)),
- new Sample ("ActivityListItem", typeof(ActivityListItem)),
- new Sample ("TwoLineListItem", typeof(TwoLineListItem)),
- } },
- { "Accessory Styles", new List() {
- new Sample ("SimpleListItemChecked", typeof(SimpleListItemChecked)),
- new Sample ("SimpleListItemSingleChoice", typeof(SimpleListItemSingleChoice)),
- new Sample ("SimpleListItemMultipleChoice", typeof(SimpleListItemMultipleChoice)),
- } },
- { "Custom Cells", new List() {
- new Sample ("ImageAndSubtitle", typeof(ImageAndSubtitle)),
- new Sample ("DateList", typeof(DateList)),
- } },
- { "Table Styles", new List() {
- new Sample ("Fast Scroll", typeof(FastScroll)),
- } },
- { "Custom Tables", new List() {
- new Sample ("Labelled Sections", typeof(LabelledSections)),
- new Sample ("Labelled Sections with Indexer", typeof(LabelledSectionsIndexer)),
- new Sample ("Gradient Background", typeof(GradientBackground)),
- new Sample ("Custom Fast Scroll (API11)", typeof(CustomFastScroll)),
- } },
- };
-
- const int TypeSectionHeader = 0;
- const int TypeSectionSample = 1;
-
- readonly Activity context;
- readonly IList rows = new List();
-
- readonly ArrayAdapter headers;
- readonly Dictionary sections = new Dictionary();
-
- public Home_Adapter(Activity context)
- {
- this.context = context;
- headers = new ArrayAdapter(context, Resource.Layout.HomeSectionHeader, Resource.Id.Text1);
-
- rows = new List();
- foreach (var section in samples.Keys) {
- headers.Add(section);
- sections.Add(section, new ArrayAdapter(context, Android.Resource.Layout.SimpleListItem1, samples [section]));
- rows.Add(new Header { Name = section, SectionIndex = sections.Count-1});
- foreach (var session in samples[section]) {
- rows.Add(session);
- }
- }
- }
- public Sample GetSample (int position) {
- return (Sample)rows[position];
- }
- public override Sample this[int position]
- {
- get
- { // this'll break if called with a 'header' position
- return (Sample)rows[position];
- }
- }
-
- public override int ViewTypeCount {
- get {
- return 1 + sections.Values.Sum (adapter => adapter.ViewTypeCount);
- }
- }
-
- public override int GetItemViewType(int position)
- {
- return rows[position] is Header
- ? TypeSectionHeader
- : TypeSectionSample;
- }
-
- public override long GetItemId(int position)
- {
- return position;
- }
-
- public override int Count
- {
- get { return rows.Count; }
- }
- public override bool AreAllItemsEnabled()
- {
- return true;
- }
- public override bool IsEnabled(int position)
- {
- return !(rows[position] is Header);
- }
-
- ///
- /// Grouped list: view could be a 'section heading' or a 'data row'
- ///
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- // Get our object for this position
- var item = this.rows[position];
-
- View view;
-
- if (item is Header) {
- view = headers.GetView(((Header) item).SectionIndex, convertView, parent);
- view.Clickable = false;
- view.LongClickable = false;
- return view;
- }
-
- int i = position-1;
- while (i > 0 && rows[i] is Sample)
- i--;
- Header h = (Header) rows[i];
- view = sections[h.Name].GetView(position-i-1, convertView, parent);
- view.FindViewById(Android.Resource.Id.Text1).Text = ((Sample) item).Name;
- return view;
- }
- }
-}
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Properties/AndroidManifest.xml b/TablesAndCellStyles/TablesAndCellStyles/Properties/AndroidManifest.xml
deleted file mode 100644
index 43a4c12ba..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Properties/AndroidManifest.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Properties/AssemblyInfo.cs b/TablesAndCellStyles/TablesAndCellStyles/Properties/AssemblyInfo.cs
deleted file mode 100644
index 27f79993e..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using Android.App;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("TablesAndCellStyles")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TablesAndCellStyles")]
-[assembly: AssemblyCopyright("Copyright © 2012")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("a557ce8c-9dbe-4b93-8fc4-95ffc126cf14")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-
-// Add some common permissions, these can be removed if not needed
-[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
-[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/AboutResources.txt b/TablesAndCellStyles/TablesAndCellStyles/Resources/AboutResources.txt
deleted file mode 100644
index b0fc999bd..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/AboutResources.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Images, layout descriptions, binary blobs and string dictionaries can be included
-in your application as resource files. Various Android APIs are designed to
-operate on the resource IDs instead of dealing with images, strings or binary blobs
-directly.
-
-For example, a sample Android app that contains a user interface layout (Main.xml),
-an internationalization string table (Strings.xml) and some icons (drawable/Icon.png)
-would keep its resources in the "Resources" directory of the application:
-
-Resources/
- Drawable/
- Icon.png
-
- Layout/
- Main.axml
-
- Values/
- Strings.xml
-
-In order to get the build system to recognize Android resources, the build action should be set
-to "AndroidResource". The native Android APIs do not operate directly with filenames, but
-instead operate on resource IDs. When you compile an Android application that uses resources,
-the build system will package the resources for distribution and generate a class called
-"Resource" that contains the tokens for each one of the resources included. For example,
-for the above Resources layout, this is what the Resource class would expose:
-
-public class Resource {
- public class Drawable {
- public const int Icon = 0x123;
- }
-
- public class Layout {
- public const int Main = 0x456;
- }
-
- public class String {
- public const int FirstString = 0xabc;
- public const int SecondString = 0xbcd;
- }
-}
-
-You would then use Resource.Drawable.Icon to reference the Drawable/Icon.png file, or
-Resource.Layout.Main to reference the Layout/Main.axml file, or Resource.String.FirstString
-to reference the first string in the dictionary file Values/Strings.xml.
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Beach.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Beach.png
deleted file mode 100644
index 26f74378c..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Beach.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Calendar.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Calendar.png
deleted file mode 100644
index d4ad9a8fb..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Calendar.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Plants.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Plants.png
deleted file mode 100644
index acc5b54e9..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Plants.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Seeds.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Seeds.png
deleted file mode 100644
index 43c2dc0da..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Seeds.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Shanghai.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Shanghai.png
deleted file mode 100644
index c27e8f5c9..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/Shanghai.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/background_selector.xml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/background_selector.xml
deleted file mode 100644
index a5226415d..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/background_selector.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- -
-
-
-
-
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/fastscroll_selector.xml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/fastscroll_selector.xml
deleted file mode 100644
index 7cdc980ba..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Drawable/fastscroll_selector.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/DateListItem.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/DateListItem.axml
deleted file mode 100644
index 582503897..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/DateListItem.axml
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/GradientBackground.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/GradientBackground.axml
deleted file mode 100644
index 35f60a3eb..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/GradientBackground.axml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/GradientBackgroundItem.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/GradientBackgroundItem.axml
deleted file mode 100644
index 7c901a4f3..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/GradientBackgroundItem.axml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/Header.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/Header.axml
deleted file mode 100644
index 470377e53..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/Header.axml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/Home.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/Home.axml
deleted file mode 100644
index 16cc8c798..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/Home.axml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/HomeSectionHeader.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/HomeSectionHeader.axml
deleted file mode 100644
index 87d7a028f..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/HomeSectionHeader.axml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/ImageAndSubtitleItem.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/ImageAndSubtitleItem.axml
deleted file mode 100644
index 17b94b5db..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/ImageAndSubtitleItem.axml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/LabelledSectionsIndexer.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/LabelledSectionsIndexer.axml
deleted file mode 100644
index 3756b42ee..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/LabelledSectionsIndexer.axml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/SectionListHeader.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/SectionListHeader.axml
deleted file mode 100644
index 90189efe8..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/SectionListHeader.axml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/SectionListItem.axml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/SectionListItem.axml
deleted file mode 100644
index da3e20bd5..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Layout/SectionListItem.axml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Colors.xml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Colors.xml
deleted file mode 100644
index 3080e0458..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Colors.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- #00000000
- #000000
- #bbbbbb
- #333333
- #ffffff
-
- #2A3748
-
-
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Strings.xml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Strings.xml
deleted file mode 100644
index ebe92e316..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Hello World, Click Me!
- TablesAndCellStyles
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Styles.xml b/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Styles.xml
deleted file mode 100644
index 570eb86cf..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Resources/Values/Styles.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-hdpi/icon.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-hdpi/icon.png
deleted file mode 100755
index 2e6ef769f..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-hdpi/icon.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-ldpi/icon.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-ldpi/icon.png
deleted file mode 100755
index 183f3095e..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-ldpi/icon.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-mdpi/icon.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-mdpi/icon.png
deleted file mode 100755
index edefb8b57..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-mdpi/icon.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-xhdpi/icon.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-xhdpi/icon.png
deleted file mode 100755
index de4bbc0d9..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-xhdpi/icon.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-xxhdpi/icon.png b/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-xxhdpi/icon.png
deleted file mode 100755
index 5e5182b38..000000000
Binary files a/TablesAndCellStyles/TablesAndCellStyles/Resources/drawable-xxhdpi/icon.png and /dev/null differ
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemChecked.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemChecked.cs
deleted file mode 100644
index ed726e8c0..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemChecked.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using System;
-
-using Android.App;
-using Android.Content;
-using Android.Runtime;
-using Android.Views;
-using Android.Widget;
-using Android.OS;
-
-namespace TablesAndCellStyles {
- //Since: API Level 1
- [Activity(Label = "SimpleListItemChecked")]
- public class SimpleListItemChecked : ListActivity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- string[] items = new string []{"Option 1", "Option 2", "Option 3"};
-
- ListAdapter = new ArrayAdapter (this, Android.Resource.Layout.SimpleListItemChecked, items);
-
- ListView lv = FindViewById(Android.Resource.Id.List);
- lv.ChoiceMode = Android.Widget.ChoiceMode.Single;
- }
- }
- /*
-
- */
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemMultipleChoice.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemMultipleChoice.cs
deleted file mode 100644
index 0d392b1f8..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemMultipleChoice.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using Android.App;
-using Android.Content;
-using Android.Runtime;
-using Android.Views;
-using Android.Widget;
-using Android.OS;
-
-namespace TablesAndCellStyles {
- [Activity(Label = "SimpleListItemMultipleChoice")]
- public class SimpleListItemMultipleChoice : ListActivity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- string[] items = new string[] { "Option 1", "Option 2", "Option 3", "Option 4", "Option 5" };
-
- ListAdapter = new ArrayAdapter (this, Android.Resource.Layout.SimpleListItemMultipleChoice, items);
-
- ListView lv = FindViewById(Android.Resource.Id.List);
- lv.ChoiceMode = Android.Widget.ChoiceMode.Multiple;
- }
- }
-}
-/*
-
- */
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemSingleChoice.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemSingleChoice.cs
deleted file mode 100644
index a2dd0e17a..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/AccessoryStyles/SimpleListItemSingleChoice.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using Android.App;
-using Android.Content;
-using Android.Runtime;
-using Android.Views;
-using Android.Widget;
-using Android.OS;
-
-namespace TablesAndCellStyles {
- [Activity(Label = "SimpleListItemSingleChoice")]
- public class SimpleListItemSingleChoice : ListActivity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- string[] items = new string[] { "Option 1", "Option 2", "Option 3" };
-
- ListAdapter = new ArrayAdapter (this, Android.Resource.Layout.SimpleListItemSingleChoice, items);
-
- ListView lv = FindViewById(Android.Resource.Id.List);
- lv.ChoiceMode = Android.Widget.ChoiceMode.Single;
- }
- }
-}
-/*
-
- */
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/ActivityListItem.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/ActivityListItem.cs
deleted file mode 100644
index 27915a331..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/ActivityListItem.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.OS;
-
-namespace TablesAndCellStyles {
- [Activity(Label = "ActivityListItem")]
- public class ActivityListItem : ListActivity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- var items = new List>();
- items.Add(new Tuple("Fiji", Resource.Drawable.Beach));
- items.Add(new Tuple("Beijing", Resource.Drawable.Shanghai));
- items.Add(new Tuple("Seedlings", Resource.Drawable.Seeds));
- items.Add(new Tuple("Plants", Resource.Drawable.Plants));
-
- this.ListAdapter = new ActivityListItem_Adapter(this, items);
- }
-
- }
- /*
-
-
-
-
- */
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/ActivityListItem_Adapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/ActivityListItem_Adapter.cs
deleted file mode 100644
index c64474dbe..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/ActivityListItem_Adapter.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
- //Since: API Level 1
- public class ActivityListItem_Adapter : ArrayAdapter > {
- Activity context;
- public ActivityListItem_Adapter(Activity context, IList> objects)
- : base(context, Android.Resource.Id.Text1, objects)
- {
- this.context = context;
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- var view = context.LayoutInflater.Inflate(Android.Resource.Layout.ActivityListItem, null);
- var item = GetItem(position);
-
- view.FindViewById (Android.Resource.Id.Text1).Text = item.Item1;
- view.FindViewById(Android.Resource.Id.Icon).SetImageResource(item.Item2);
-
- return view;
- }
- }
-}
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem1.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem1.cs
deleted file mode 100644
index d38c7407a..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem1.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
-
- //Since: API Level 1
- [Activity(Label = "SimpleListItem1")]
- public class SimpleListItem1 : ListActivity {
-
- string[] items;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- items = new string []{"Row 1", "Row 2", "Row 3"};
-
- this.ListAdapter = new ArrayAdapter (this, Android.Resource.Layout.SimpleListItem1, items);
- }
- protected override void OnListItemClick(Android.Widget.ListView l, Android.Views.View v, int position, long id)
- {
- var t = items[position];
- Android.Widget.Toast.MakeText(this, t, Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t);
- }
- }
-}
-/*
-
- */
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem2.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem2.cs
deleted file mode 100644
index ea650d425..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem2.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.OS;
-
-namespace TablesAndCellStyles {
- //Since: API Level 1
- [Activity(Label = "SimpleListItem2")]
- public class SimpleListItem2 : ListActivity {
-
- List> items;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- items = new List>();
- items.Add(new Tuple("Fiji", "A nice beach"));
- items.Add(new Tuple("Beijing", "AKA Shanghai"));
- items.Add(new Tuple("Seedlings", "Tiny plants"));
- items.Add(new Tuple("Plants", "Green plants"));
-
- ListAdapter = new SimpleListItem2_Adapter(this, items);
- }
- protected override void OnListItemClick(Android.Widget.ListView l, Android.Views.View v, int position, long id)
- {
- var t = items[position];
- Android.Widget.Toast.MakeText(this, t.Item1, Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t.Item1);
- }
- }
- /*
-
-
-
-
- */
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem2_Adapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem2_Adapter.cs
deleted file mode 100644
index d82518d29..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/SimpleListItem2_Adapter.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
-
- public class SimpleListItem2_Adapter : ArrayAdapter > {
- Activity context;
- public SimpleListItem2_Adapter(Activity context, IList> objects)
- : base(context, Android.Resource.Id.Text1, objects)
- {
- this.context = context;
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- var view = context.LayoutInflater.Inflate(Android.Resource.Layout.SimpleListItem2, null);
-
- var item = GetItem(position);
-
- view.FindViewById (Android.Resource.Id.Text1).Text = item.Item1;
- view.FindViewById(Android.Resource.Id.Text2).Text = item.Item2;
-
- return view;
- }
- }
-}
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/TwoLineListItem.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/TwoLineListItem.cs
deleted file mode 100644
index 4d5fc2a5b..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/TwoLineListItem.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.OS;
-
-namespace TablesAndCellStyles {
- //Since: API Level 1
- [Activity(Label = "TwoLineListItem")]
- public class TwoLineListItem : ListActivity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- var items = new List>();
- items.Add(new Tuple("Fiji", "A nice beach"));
- items.Add(new Tuple("Beijing", "AKA Shanghai"));
- items.Add(new Tuple("Seedlings", "Tiny plants"));
- items.Add(new Tuple("Plants", "Green plants"));
-
- ListAdapter = new TwoLineListItem_Adapter(this, items);
- }
-
- }
- /*
-
-
-
-
- */
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/TwoLineListItem_Adapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/TwoLineListItem_Adapter.cs
deleted file mode 100644
index 6333ae283..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CellStyles/TwoLineListItem_Adapter.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
- //Since: API Level 1
- public class TwoLineListItem_Adapter : ArrayAdapter > {
- Activity context;
- public TwoLineListItem_Adapter(Activity context, IList> objects)
- : base(context, Android.Resource.Id.Text1, objects)
- {
- this.context = context;
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- var view = context.LayoutInflater.Inflate(Android.Resource.Layout.TwoLineListItem, null);
-
- var item = GetItem(position);
-
- view.FindViewById (Android.Resource.Id.Text1).Text = item.Item1;
- view.FindViewById(Android.Resource.Id.Text2).Text = item.Item2;
-
- return view;
- }
- }
-}
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/DateList/DateList.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/DateList/DateList.cs
deleted file mode 100644
index f9c3d9749..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/DateList/DateList.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-using System.Collections.Generic;
-
-namespace TablesAndCellStyles {
-
- [Activity(Label = "DateList")]
- public class DateList : ListActivity {
-
- List> items;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- items = new List>();
- items.Add(new Tuple("New features of MonoTouch 5.2", new DateTime(2012, 03, 12)));
- items.Add(new Tuple("MonoTouch and iOS 5.1", new DateTime(2012, 03, 11)));
- items.Add(new Tuple("Introducing the Xamarin Samples Gallery", new DateTime(2012, 03, 05)));
- items.Add(new Tuple("Release Candidates and Preview Updates", new DateTime(2012, 03, 01)));
- items.Add(new Tuple("Xamarin Adding Support for MIPS Architecture to Mono for Android", new DateTime(2012, 02, 29)));
-
-
- this.ListAdapter = new DateList_Adapter(this, items);
- }
- protected override void OnListItemClick(Android.Widget.ListView l, Android.Views.View v, int position, long id)
- {
- var t = items[position];
- Android.Widget.Toast.MakeText(this, t.Item1, Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t.Item1);
- }
- }
-}
-/*
-
- */
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/DateList/DateList_Adapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/DateList/DateList_Adapter.cs
deleted file mode 100644
index 08defefa9..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/DateList/DateList_Adapter.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-using System.Collections.Generic;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-using System;
-
-namespace TablesAndCellStyles {
- public class DateList_Adapter : BaseAdapter> {
- protected Activity context = null;
- protected IList> news = new List>();
-
- public DateList_Adapter(Activity context, IList> news)
- : base()
- {
- this.context = context;
- this.news = news;
- }
-
- public override Tuple this[int position]
- {
- get { return news[position]; }
- }
-
- public override long GetItemId(int position)
- {
- return position;
- }
-
- public override int Count
- {
- get { return news.Count; }
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- // Get our object for this position
- var item = news[position];
-
- //Try to reuse convertView if it's not null, otherwise inflate it from our item layout
- // This gives us some performance gains by not always inflating a new view
- // This will sound familiar to MonoTouch developers with UITableViewCell.DequeueReusableCell()
- var view = (convertView ??
- this.context.LayoutInflater.Inflate(
- Resource.Layout.DateListItem,
- parent,
- false)) as LinearLayout;
-
- // Find references to each subview in the list item's view
- var titleTextView = view.FindViewById(Resource.Id.BigTextView);
- var monthTextView = view.FindViewById(Resource.Id.MonthTextView);
- var dayTextView = view.FindViewById(Resource.Id.DayTextView);
-
- //Assign this item's values to the various subviews
- titleTextView.SetText(news[position].Item1, TextView.BufferType.Normal);
- monthTextView.SetText(news[position].Item2.ToString("MMM").ToUpper(), TextView.BufferType.Normal);
- dayTextView.SetText(news[position].Item2.ToString("dd"), TextView.BufferType.Normal);
-
- //Finally return the view
- return view;
- }
- }
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/ImageAndSubtitle/ImageAndSubtitle.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/ImageAndSubtitle/ImageAndSubtitle.cs
deleted file mode 100644
index cf6abba67..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/ImageAndSubtitle/ImageAndSubtitle.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-using System.Collections.Generic;
-
-namespace TablesAndCellStyles {
-
- [Activity(Label = "ImageAndSubtitle")]
- public class ImageAndSubtitle : ListActivity {
-
- List> items;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- items = new List>();
- items.Add(new Tuple("Fiji", "A nice beach", Resource.Drawable.Beach));
- items.Add(new Tuple("Beijing", "AKA Shanghai", Resource.Drawable.Shanghai));
- items.Add(new Tuple("Seedlings", "Tiny plants", Resource.Drawable.Seeds));
- items.Add(new Tuple("Plants", "Green plants", Resource.Drawable.Plants));
-
- this.ListAdapter = new ImageAndSubtitle_Adapter(this, items);
- }
- protected override void OnListItemClick(Android.Widget.ListView l, Android.Views.View v, int position, long id)
- {
- var t = items[position];
- Android.Widget.Toast.MakeText(this, t.Item1, Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t);
- }
- }
-}
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/ImageAndSubtitle/ImageAndSubtitle_Adapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/ImageAndSubtitle/ImageAndSubtitle_Adapter.cs
deleted file mode 100644
index 705e8d142..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomCells/ImageAndSubtitle/ImageAndSubtitle_Adapter.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
- //Since: API Level 1
- public class ImageAndSubtitle_Adapter : ArrayAdapter > {
- Activity context;
- public ImageAndSubtitle_Adapter(Activity context, IList> objects)
- : base(context, Android.Resource.Id.Text1, objects)
- {
- this.context = context;
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- var view = context.LayoutInflater.Inflate(Resource.Layout.ImageAndSubtitleItem, null);
- var item = GetItem(position);
-
- view.FindViewById (Resource.Id.Text1).Text = item.Item1;
- view.FindViewById (Resource.Id.Text2).Text = item.Item2;
- view.FindViewById (Resource.Id.Icon).SetImageResource(item.Item3);
-
- return view;
- }
- }
-}
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/CustomFastScroll/CustomFastScroll.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/CustomFastScroll/CustomFastScroll.cs
deleted file mode 100644
index 52779a8ab..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/CustomFastScroll/CustomFastScroll.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
-
- //Requires: API Level 11
- #if __ANDROID_11__
- // ### BE SURE TO UNCOMMENT THE STYLE IN RESOURCES/VALUES/STYLES.XML ###
- [Activity(Label = "CustomFastScroll ", Theme = "@style/CustomFastScroll")]
- #else
- [Activity(Label = "CustomFastScroll ")] // Customizing the fast scroll element only works API level 11 and above
- #endif
- public class CustomFastScroll : ListActivity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- ListAdapter = new ArrayAdapter (this, Android.Resource.Layout.SimpleListItem1, COUNTRIES);
-
- ListView.FastScrollEnabled = true;
- }
- protected override void OnListItemClick(Android.Widget.ListView l, Android.Views.View v, int position, long id)
- {
- var t = COUNTRIES[position];
- Android.Widget.Toast.MakeText(this, t, Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t);
- }
-
- static string[] COUNTRIES = new string[] { "Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "British Virgin Islands", "Brunei", "Bulgaria", "Burkina Faso", "Burundi", "Cote d'Ivoire", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Democratic Republic of the Congo", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Faeroe Islands", "Falkland Islands", "Fiji", "Finland", "Former Yugoslav Republic of Macedonia", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macau", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "Netherlands Antilles", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "North Korea", "Northern Marianas", "Norway", "Oman", "Pakistan", "Palau", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn Islands", "Poland", "Portugal", "Puerto Rico", "Qatar", "Reunion", "Romania", "Russia", "Rwanda", "Sqo Tome and Principe", "Saint Helena", "Saint Kitts and Nevis", "Saint Lucia", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Saudi Arabia", "Senegal", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Korea", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "The Bahamas", "The Gambia", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Virgin Islands", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Wallis and Futuna", "Western Sahara", "Yemen", "Yugoslavia", "Zambia", "Zimbabwe" };
- }
-}
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/GradientBackground/GradientBackground.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/GradientBackground/GradientBackground.cs
deleted file mode 100644
index f3ca93aac..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/GradientBackground/GradientBackground.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
- [Activity(Label = "GradientBackground")]
- public class GradientBackground : Activity {
-
- List> items;
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
- SetContentView(Resource.Layout.GradientBackground);
-
- items = new List>();
- items.Add(new Tuple("Fiji", "A nice beach", Resource.Drawable.Beach));
- items.Add(new Tuple("Beijing", "AKA Shanghai", Resource.Drawable.Shanghai));
- items.Add(new Tuple("Seedlings", "Tiny plants", Resource.Drawable.Seeds));
- items.Add(new Tuple("Plants", "Green plants", Resource.Drawable.Plants));
-
-
- var listView = FindViewById(Resource.Id.List);
- listView.Adapter = new GradientBackground_Adapter(this, items);
- listView.ItemClick += (object sender, AdapterView.ItemClickEventArgs e) => {
- var t = items[e.Position];
- Android.Widget.Toast.MakeText(this, t.Item1, Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t.Item1);
- };
- }
- }
-}
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/GradientBackground/GradientBackground_Adapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/GradientBackground/GradientBackground_Adapter.cs
deleted file mode 100644
index 3271ee114..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/GradientBackground/GradientBackground_Adapter.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.App;
-using Android.Views;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
-
- public class GradientBackground_Adapter : ArrayAdapter > {
- Activity context;
- public GradientBackground_Adapter(Activity context, IList> objects)
- : base(context, Android.Resource.Id.Text1, objects)
- {
- this.context = context;
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- var view = context.LayoutInflater.Inflate(Resource.Layout.ImageAndSubtitleItem, null);
- var item = GetItem(position);
-
- view.FindViewById (Resource.Id.Text1).Text = item.Item1;
- view.FindViewById (Resource.Id.Text2).Text = item.Item2;
- view.FindViewById (Resource.Id.Icon).SetImageResource(item.Item3);
-
- return view;
- }
- }
-}
\ No newline at end of file
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/IHasLabel.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/IHasLabel.cs
deleted file mode 100644
index 178e113ab..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/IHasLabel.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using System;
-
-namespace TablesAndCellStyles
-{
- interface IHasLabel
- {
- string Label {get;}
- }
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/LabelledSections.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/LabelledSections.cs
deleted file mode 100644
index ebab1093d..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/LabelledSections.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using System;
-using System.Linq;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-using System.Collections.Generic;
-
-// see also Xamarin Sample
-// https://github.com/xamarin/monodroid-samples/tree/master/LabelledSections
-
-namespace TablesAndCellStyles {
- [Activity(Label = "LabelledSections")]
- public class LabelledSections : ListActivity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- ListAdapter = new ArrayAdapter (this, Android.Resource.Layout.SimpleListItem1, COUNTRIES);
-
- ListView.FastScrollEnabled = true;
-
- var data = new ListItemCollection();
- foreach (var c in COUNTRIES) data.Add(new ListItemValue(c));
- var sortedContacts = data.GetSortedData();
- ListAdapter = CreateAdapter(sortedContacts);
- }
- protected override void OnListItemClick(Android.Widget.ListView l, Android.Views.View v, int position, long id)
- {
- var t = l.Adapter.GetItem(position);
- Android.Widget.Toast.MakeText(this, t.ToString(), Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t);
- }
- SeparatedListAdapter CreateAdapter (Dictionary> sortedObjects) where T : IHasLabel, IComparable {
- var adapter = new SeparatedListAdapter(this);
- foreach (var e in sortedObjects.OrderBy(de => de.Key)) {
- var label = e.Key; var section = e.Value;
- adapter.AddSection(label, new ArrayAdapter(this, Resource.Layout.SectionListItem, section));
- } return adapter;
- }
- static string[] COUNTRIES = new string[] { "Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "British Virgin Islands", "Brunei", "Bulgaria", "Burkina Faso", "Burundi", "Cote d'Ivoire", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Democratic Republic of the Congo", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Faeroe Islands", "Falkland Islands", "Fiji", "Finland", "Former Yugoslav Republic of Macedonia", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macau", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "Netherlands Antilles", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "North Korea", "Northern Marianas", "Norway", "Oman", "Pakistan", "Palau", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn Islands", "Poland", "Portugal", "Puerto Rico", "Qatar", "Reunion", "Romania", "Russia", "Rwanda", "Sqo Tome and Principe", "Saint Helena", "Saint Kitts and Nevis", "Saint Lucia", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Saudi Arabia", "Senegal", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Korea", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "The Bahamas", "The Gambia", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Virgin Islands", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Wallis and Futuna", "Western Sahara", "Yemen", "Yugoslavia", "Zambia", "Zimbabwe" };
- }
-}
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/ListItemCollection.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/ListItemCollection.cs
deleted file mode 100644
index 5353fbb46..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/ListItemCollection.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using Android.Util;
-
-namespace TablesAndCellStyles
-{
- class ListItemCollection : IEnumerable
- where T : IHasLabel, IComparable
- {
- public ListItemCollection ()
- {
- }
-
- List values = new List ();
-
- public void Add (T value)
- {
- values.Add (value);
- }
-
- public IEnumerator GetEnumerator ()
- {
- return values.GetEnumerator ();
- }
-
- IEnumerator IEnumerable.GetEnumerator ()
- {
- return GetEnumerator ();
- }
-
- public Dictionary> GetSortedData ()
- {
- var results = new Dictionary>();
- List sectionRows = null;
- string currentIndex = null;
-
- foreach (var e in values) {
- if (e.Label != currentIndex) { // start the next index
- sectionRows = new List ();
- currentIndex = e.Label;
- if (!results.ContainsKey(currentIndex))
- results.Add (currentIndex, sectionRows);
- }
- sectionRows.Add (e);
- }
-
- foreach (var v in results.Values)
- v.Sort ();
-
- return results;
- }
- }
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/ListItemValue.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/ListItemValue.cs
deleted file mode 100644
index 6c5347d3c..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/ListItemValue.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace TablesAndCellStyles
-{
- class ListItemValue : Java.Lang.Object, IHasLabel, IComparable
- {
- public ListItemValue (string name)
- {
- Name = name;
- }
-
- public string Name {get; private set;}
-
- int IComparable.CompareTo (ListItemValue value)
- {
- return Name.CompareTo (value.Name);
- }
-
- public override string ToString ()
- {
- return Name;
- }
-
- public string Label {
- get {return Name [0].ToString ();}
- }
- }
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/SeparatedListAdapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/SeparatedListAdapter.cs
deleted file mode 100644
index 1f4979ac4..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSections/SeparatedListAdapter.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using Android.Content;
-using Android.Views;
-using Android.Widget;
-
-namespace TablesAndCellStyles
-{
- class SeparatedListAdapter : BaseAdapter
- {
- public SeparatedListAdapter (Context context)
- {
- headers = new ArrayAdapter (context, Resource.Layout.SectionListHeader);
- }
-
- Dictionary sections = new Dictionary ();
- ArrayAdapter headers;
- const int TypeSectionHeader = 0;
-
- public void AddSection (string section, IAdapter adapter)
- {
- headers.Add (section);
- sections.Add (section, adapter);
- }
-
- public override Java.Lang.Object GetItem (int position)
- {
- int op = position;
- foreach (var section in sections.Keys) {
- var adapter = sections [section];
- int size = adapter.Count + 1;
- if (position == 0)
- return section;
- if (position < size)
- return adapter.GetItem (position - 1);
- position -= size;
- }
- return null;
- }
-
- public override int Count {
- get {
- return sections.Values.Sum (adapter => adapter.Count + 1);
- }
- }
-
- public override int ViewTypeCount {
- get {
- return 1 + sections.Values.Sum (adapter => adapter.ViewTypeCount);
- }
- }
-
- public override int GetItemViewType (int position)
- {
- int type = 1;
- foreach (var section in sections.Keys) {
- var adapter = sections [section];
- int size = adapter.Count + 1;
-
- // check if position inside this section
- if (position == 0)
- return TypeSectionHeader;
- if (position < size)
- return type + adapter.GetItemViewType (position - 1);
-
- // otherwise jump into next section
- position -= size;
- type += adapter.ViewTypeCount;
- }
- return -1;
- }
-
- public override bool AreAllItemsEnabled ()
- {
- return false;
- }
-
- public override bool IsEnabled (int position)
- {
- return (GetItemViewType (position) != TypeSectionHeader);
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent) {
- int sectionnum = 0;
- foreach (var section in sections.Keys) {
- var adapter = sections [section];
- int size = adapter.Count + 1;
-
- // check if position inside this section
- if (position == 0)
- return headers.GetView (sectionnum, convertView, parent);
- if (position < size)
- return adapter.GetView (position - 1, convertView, parent);
-
- // otherwise jump into next section
- position -= size;
- sectionnum++;
- }
- return null;
- }
-
- public override long GetItemId(int position)
- {
- return position;
- }
- }
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSectionsIndexer/LabelledSectionsIndexer.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSectionsIndexer/LabelledSectionsIndexer.cs
deleted file mode 100644
index 6097650b6..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSectionsIndexer/LabelledSectionsIndexer.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-// see also Xamarin Sample
-// https://github.com/xamarin/monodroid-samples/tree/master/LabelledSections
-
-namespace TablesAndCellStyles {
-
- [Activity(Label = "LabelledSectionsIndexer")]
- public class LabelledSectionsIndexer : Activity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
- SetContentView(Resource.Layout.LabelledSectionsIndexer);
-
- var listView = FindViewById(Resource.Id.List);
-
- listView.FastScrollEnabled = true;
-
- var data = new ListItemCollection();
- foreach (var c in COUNTRIES) data.Add(new ListItemValue(c));
- var sortedContacts = data.GetSortedData();
- listView.Adapter = CreateAdapter(sortedContacts);
- listView.ItemClick += (object sender, AdapterView.ItemClickEventArgs e) => {
- var t = listView.Adapter.GetItem(e.Position);
- Android.Widget.Toast.MakeText(this, t.ToString(), Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t);
- };
- }
- SeparatedListIndexerAdapter CreateAdapter(Dictionary> sortedObjects) where T : IHasLabel, IComparable
- {
- var adapter = new SeparatedListIndexerAdapter(this);
- foreach (var e in sortedObjects.OrderBy(de => de.Key)) {
- var label = e.Key; var section = e.Value;
- adapter.AddSection(label, new ArrayAdapter(this, Resource.Layout.SectionListItem, section));
- } return adapter;
- }
- static string[] COUNTRIES = new string[] { "Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "British Virgin Islands", "Brunei", "Bulgaria", "Burkina Faso", "Burundi", "Cote d'Ivoire", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Democratic Republic of the Congo", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Faeroe Islands", "Falkland Islands", "Fiji", "Finland", "Former Yugoslav Republic of Macedonia", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macau", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "Netherlands Antilles", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "North Korea", "Northern Marianas", "Norway", "Oman", "Pakistan", "Palau", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn Islands", "Poland", "Portugal", "Puerto Rico", "Qatar", "Reunion", "Romania", "Russia", "Rwanda", "Sqo Tome and Principe", "Saint Helena", "Saint Kitts and Nevis", "Saint Lucia", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Saudi Arabia", "Senegal", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Korea", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "The Bahamas", "The Gambia", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Virgin Islands", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Wallis and Futuna", "Western Sahara", "Yemen", "Yugoslavia", "Zambia", "Zimbabwe" };
- }
-}
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSectionsIndexer/SeparatedListIndexerAdapter.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSectionsIndexer/SeparatedListIndexerAdapter.cs
deleted file mode 100644
index 2964380fb..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/CustomTables/LabelledSectionsIndexer/SeparatedListIndexerAdapter.cs
+++ /dev/null
@@ -1,148 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-
-using Android.Content;
-using Android.Util;
-using Android.Views;
-using Android.Widget;
-
-namespace TablesAndCellStyles
-{
- class SeparatedListIndexerAdapter : BaseAdapter, ISectionIndexer
- {
- public SeparatedListIndexerAdapter(Context context)
- {
- headers = new ArrayAdapter (context, Resource.Layout.SectionListHeader);
- }
-
- Dictionary sections = new Dictionary ();
- ArrayAdapter headers;
- const int TypeSectionHeader = 0;
-
- public void AddSection (string section, IAdapter adapter)
- {
- headers.Add (section);
- sections.Add (section, adapter);
- }
-
- public override Java.Lang.Object GetItem (int position)
- {
- int op = position;
- foreach (var section in sections.Keys) {
- var adapter = sections [section];
- int size = adapter.Count + 1;
- if (position == 0)
- return section;
- if (position < size)
- return adapter.GetItem (position - 1);
- position -= size;
- }
- return null;
- }
-
- public override int Count {
- get {
- return sections.Values.Sum (adapter => adapter.Count + 1);
- }
- }
-
- public override int ViewTypeCount {
- get {
- return 1 + sections.Values.Sum (adapter => adapter.ViewTypeCount);
- }
- }
-
- public override int GetItemViewType (int position)
- {
- int type = 1;
- foreach (var section in sections.Keys) {
- var adapter = sections [section];
- int size = adapter.Count + 1;
-
- // check if position inside this section
- if (position == 0)
- return TypeSectionHeader;
- if (position < size)
- return type + adapter.GetItemViewType (position - 1);
-
- // otherwise jump into next section
- position -= size;
- type += adapter.ViewTypeCount;
- }
- return -1;
- }
-
- public override bool AreAllItemsEnabled ()
- {
- return false;
- }
-
- public override bool IsEnabled (int position)
- {
- return (GetItemViewType (position) != TypeSectionHeader);
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent) {
- int sectionnum = 0;
- foreach (var section in sections.Keys) {
- var adapter = sections [section];
- int size = adapter.Count + 1;
-
- // check if position inside this section
- if (position == 0)
- return headers.GetView (sectionnum, convertView, parent);
- if (position < size)
- return adapter.GetView (position - 1, convertView, parent);
-
- // otherwise jump into next section
- position -= size;
- sectionnum++;
- }
- return null;
- }
-
- public override long GetItemId(int position)
- {
- return position;
- }
-
- // -- ISectionIndexer --
- public int GetPositionForSection(int section)
- {
- int sectionnum = 0;
- int position = 0;
- foreach (var s in sections.Keys) {
- var adapter = sections[s];
- int size = adapter.Count + 1;
-
- // check if position inside this section
- if (section == sectionnum)
- return position;
-
- position += size;
- // otherwise jump into next section
- sectionnum++;
- }
- return -1;
- }
-
- public int GetSectionForPosition(int position)
- {
- return 1;
- }
- Java.Lang.Object[] sectionObjects;
- public Java.Lang.Object[] GetSections()
- {
- if (sectionObjects == null) {
- var keys = sections.Keys.ToArray();
- sectionObjects = new Java.Lang.Object[keys.Length];
- for (int i = 0; i < keys.Length; i++) {
- sectionObjects[i] = new Java.Lang.String(keys[i]);
- }
- }
- return sectionObjects;
- }
- }
-}
-
diff --git a/TablesAndCellStyles/TablesAndCellStyles/Screens/TableStyles/FastScroll.cs b/TablesAndCellStyles/TablesAndCellStyles/Screens/TableStyles/FastScroll.cs
deleted file mode 100644
index 35af54f2d..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/Screens/TableStyles/FastScroll.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using Android.App;
-using Android.OS;
-using Android.Widget;
-
-namespace TablesAndCellStyles {
-
- //Since: API Level 1
- [Activity(Label = "FastScroll")]
- public class FastScroll : ListActivity {
-
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- ListAdapter = new ArrayAdapter (this, Android.Resource.Layout.SimpleListItem1, COUNTRIES);
-
- ListView.FastScrollEnabled = true;
- }
- protected override void OnListItemClick(Android.Widget.ListView l, Android.Views.View v, int position, long id)
- {
- var t = COUNTRIES[position];
- Android.Widget.Toast.MakeText(this, t, Android.Widget.ToastLength.Short).Show();
- Console.WriteLine("Clicked on " + t);
- }
-
- static string[] COUNTRIES = new string[] { "Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "British Virgin Islands", "Brunei", "Bulgaria", "Burkina Faso", "Burundi", "Cote d'Ivoire", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Democratic Republic of the Congo", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Faeroe Islands", "Falkland Islands", "Fiji", "Finland", "Former Yugoslav Republic of Macedonia", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macau", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "Netherlands Antilles", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "North Korea", "Northern Marianas", "Norway", "Oman", "Pakistan", "Palau", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn Islands", "Poland", "Portugal", "Puerto Rico", "Qatar", "Reunion", "Romania", "Russia", "Rwanda", "Sqo Tome and Principe", "Saint Helena", "Saint Kitts and Nevis", "Saint Lucia", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Saudi Arabia", "Senegal", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Korea", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "The Bahamas", "The Gambia", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Virgin Islands", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Wallis and Futuna", "Western Sahara", "Yemen", "Yugoslavia", "Zambia", "Zimbabwe" };
- }
-}
diff --git a/TablesAndCellStyles/TablesAndCellStyles/TablesAndCellStyles.csproj b/TablesAndCellStyles/TablesAndCellStyles/TablesAndCellStyles.csproj
deleted file mode 100644
index 3c1dd8740..000000000
--- a/TablesAndCellStyles/TablesAndCellStyles/TablesAndCellStyles.csproj
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.30703
- 2.0
- {BB3E2E74-C763-4CE8-A2E0-757BC0BE12EA}
- {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- Library
- Properties
- TablesAndCellStyles
- TablesAndCellStyles
- 512
- true
- Resources\Resource.Designer.cs
- Off
- Properties\AndroidManifest.xml
- False
- armeabi
-
-
-
-
- True
- full
- False
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- None
-
-
- pdbonly
- True
- bin\Release\
- TRACE
- prompt
- 4
- False
- SdkOnly
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
- AndroidResource
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/TablesAndCellStyles/movedto.md b/TablesAndCellStyles/movedto.md
new file mode 100644
index 000000000..55718c252
--- /dev/null
+++ b/TablesAndCellStyles/movedto.md
@@ -0,0 +1 @@
+https://github.com/xamarin/mobile-samples/tree/master/TablesLists
\ No newline at end of file