android


Android XML shows different than live version


I can not figure out what is going on. For awhile everything was perfect, I have the style sheet setup for the application and in the manifest I have each individual activity set to that theme. It was working for awhile but now it is changing all the items that show white to black and I cannot figure out why.Here's a picture of the way it is supposed to have worked and was working for awhile
How it shows in emulator and on phones
Layout file:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="match_parent" android:paddingLeft="#dimen/activity_horizontal_margin"
android:paddingRight="#dimen/activity_horizontal_margin"
android:paddingTop="#dimen/activity_vertical_margin"
android:background="#drawable/signinbg">
<Button
android:id="#+id/login"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="#+id/password"
android:layout_below="#+id/password"
android:text="login"
android:nestedScrollingEnabled="false"
android:background="#color/Blueish"
android:gravity="center"
android:layout_centerVertical="true"
android:layout_marginTop="40dp" />
<EditText
android:id="#+id/username"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:ems="10"
android:focusable="true"
android:background="#android:drawable/edit_text"
android:imeOptions="actionNext"
android:singleLine="true"
android:gravity="center"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:selectAllOnFocus="true"
android:layout_marginTop="2dp" />
<EditText
android:id="#+id/password"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:background="#android:drawable/edit_text"
android:ems="10"
android:imeOptions="actionDone"
android:password="true"
android:singleLine="true"
android:gravity="center"
android:selectAllOnFocus="true"
android:layout_below="#+id/textView4"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginTop="2dp" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Not registered yet? Sign up!"
android:textSize="20dp"
android:id="#+id/Register"
android:textAlignment="center"
android:clickable="true"
android:gravity="center"
android:textColor="#color/White"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginBottom="10dp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="#+id/imageView"
android:src="#drawable/logo"
android:paddingBottom="50dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="40dp"
android:text="Sign in"
android:textColor="#color/White"
android:id="#+id/textView2"
android:layout_above="#+id/textView3"
android:layout_alignLeft="#+id/textView4"
android:layout_alignStart="#+id/textView4" />
<TextView
android:layout_width="wrap_content"
android:layout_height="30dp"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="Username"
android:id="#+id/textView3"
android:textColor="#color/White"
android:textSize="23dp"
android:layout_above="#+id/username"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="25dp"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="Password"
android:id="#+id/textView4"
android:textColor="#color/White"
android:textSize="23dp"
android:layout_below="#+id/username"
android:layout_alignRight="#+id/textView3"
android:layout_alignEnd="#+id/textView3"
android:layout_marginTop="10dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="Forgot Password?"
android:textColor="#color/White"
android:id="#+id/ForgotPassword"
android:layout_below="#+id/password"
android:layout_alignLeft="#+id/textView4"
android:layout_alignStart="#+id/textView4" />
</RelativeLayout>
Styles:
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">#color/colorPrimary</item>
<item name="colorPrimaryDark">#color/colorPrimaryDark</item>
<item name="colorAccent">#color/colorAccent</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.NoActionBar" parent="AppTheme">
<item name="colorPrimaryDark">#color/colorPrimaryDark</item>
<item name="colorAccent">#color/colorAccent</item>
<item name="colorPrimary">#color/colorPrimary</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>

Related Links

Android Sqlite sqlite3_bind_parameter_count
How I can send a file from my server to an Android app?
Emailing of HTML formatted text only works with Gmail client
how can i get my android app to properly display on a touchpad?
How do you make a button return a boolean value?
Android equivalent of Cocos2D-iOS CCNode.visit() in Cocos2D-Android?
How do I merge between branches when the package name is different?
Keep different search histories for different activities?
Loading activity in Fragment Code
Is there a way to distinguish between TextViews or any other Views having same ID's inflated multiple times from a single xml file
Setting background image faded in background
Get context of test project in Android junit test case
OrmLite where clause and SQL between with java.util.date
Does Android application development Guideline allow disabling Default Menu and back button for particular application?
How to bookmark a webpage in an Android application?
Android disable fading edge

Categories

HOME
assembly
fpga
youtube-data-api-v3
sitecore
shiro
gradient
javacc
trac
lanczos
p2p
syntaxnet
windows-ce
angular-dart
gource
mvc-mini-profiler
apache2.4
solrcloud
springfox
spring-async
tosca
corpus
ms-access-web-app
linked-data
subclass
utorrent
android-maps-extensions
installshield-le
joomla2.5
hunspell
nested-lists
searchkit
apic
docfx
zoomify
graphhopper
timing
tex
projects-and-solutions
laravel-elixir
preloader
subclipse
apache-directory
mesosphere
hammer.js
yii2-api
globalize
google-cse
spring-data-couchbase
libjpeg
baidu
restore
change-tracking
visual-studio-2008-sp1
usart
cudd
flex-monkey
actor-platform
latin
mta
cfchart
cassia
gcloud-ruby
django-urls
finalbuilder
avahi
fail2ban
entity-framework-4.3
broadband
ssis-data-flow
strawberry-perl
winginx
mutual-authentication
gae-quotas
ora-06550
scriptaculous
sphinxql
cocoalibspotify-2.0
printdialog
route-provider
poker
diem
traceability
subgraph
boost-signals
appjs
agility.js
convention
cgbitmapcontextcreate
strsep
event-receiver
svk
vs-android
duplex
strtod
wcf-instancing
mathematical-notation
asynchronous-wcf-call
idatareader

Resources

Encrypt Message