Fix color

This commit is contained in:
Alexey Pelykh 2015-02-02 16:50:56 +02:00
parent 855607fd28
commit 30398fad48
2 changed files with 55 additions and 39 deletions

View file

@ -1,37 +1,52 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout
android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android"
android:background="?attr/card_bg" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
<TextView android:id="@+id/message" android:background="?attr/card_bg"
android:layout_height="wrap_content" android:orientation="vertical">
android:padding="@dimen/dashFavIconMargin"
android:layout_width="match_parent" <TextView
android:gravity="center_horizontal" android:id="@+id/message"
android:textColor="@color/dashboard_black" android:layout_width="match_parent"
android:layout_gravity="center_horizontal"/> android:layout_height="wrap_content"
<View android:layout_width="match_parent" android:layout_gravity="center_horizontal"
android:background="?attr/dashboard_divider" android:gravity="center_horizontal"
android:layout_height="1dp"/> android:padding="@dimen/dashFavIconMargin"
<LinearLayout android:layout_width="fill_parent" android:textColor="?android:textColorPrimary"
android:orientation="horizontal" tools:text="@string/lorem_ipsum"/>
android:layout_height="@dimen/dashHeaderHeight">
<Button android:id="@+id/local_downloads" <View
android:layout_width="0dp" android:layout_width="match_parent"
android:layout_weight="1" android:layout_height="1dp"
android:text="@string/dash_download_manage" android:background="?attr/dashboard_divider"/>
style="?attr/dashboardGeneralButtonStyle"/>
<View android:layout_width="1dp" <LinearLayout
android:background="?attr/dashboard_divider" android:layout_width="fill_parent"
android:layout_height="match_parent"/> android:layout_height="@dimen/dashHeaderHeight"
<Button android:id="@+id/download_new_map" android:orientation="horizontal">
android:layout_width="0dp"
android:layout_weight="1" <Button
android:layout_height="wrap_content" android:id="@+id/local_downloads"
android:text="@string/dash_download_new_one" style="?attr/dashboardGeneralButtonStyle"
style="?attr/dashboardGeneralButtonStyle"/> android:layout_width="0dp"
</LinearLayout> android:layout_weight="1"
android:text="@string/dash_download_manage"/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="?attr/dashboard_divider"/>
<Button
android:id="@+id/download_new_map"
style="?attr/dashboardGeneralButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/dash_download_new_one"/>
</LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout
xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" xmlns:tools="http://schemas.android.com/tools"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:background="?attr/card_bg" android:layout_height="wrap_content"
android:orientation="vertical"> android:background="?attr/card_bg"
android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"