forked from organicmaps/organicmaps
Download country dialog layout fix.
This commit is contained in:
parent
c3eaaa1a41
commit
c706074f4f
2 changed files with 30 additions and 25 deletions
|
@ -1,13 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="20dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/divider_standard">
|
||||
|
||||
<View
|
||||
|
@ -16,33 +16,38 @@
|
|||
android:layout_height="1px"
|
||||
android:background="?android:attr/listDivider"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__title"
|
||||
android:layout_width="wrap_content"
|
||||
<LinearLayout
|
||||
android:id="@+id/ll__item"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_below="@id/divider_top"
|
||||
android:layout_marginLeft="@dimen/margin_medium_and_half"
|
||||
android:layout_centerVertical="true"
|
||||
android:maxLines="1"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
android:textColor="@android:color/black"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/margin_medium_and_half"
|
||||
android:maxLines="1"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat"
|
||||
android:textColor="@color/downloader_green"/>
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="60dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textAppearance="@style/MwmTextAppearance.Body1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:textAppearance="@style/MwmTextAppearance.Button"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_below="@id/ll__item"
|
||||
android:background="?android:attr/listDivider"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
<color name="base_black_hint">#8A000000</color>
|
||||
<color name="base_black_divider">#1E000000</color>
|
||||
<!-- other colors -->
|
||||
<color name="base_blue">#000000</color>
|
||||
<color name="base_red">#000000</color>
|
||||
<color name="base_yellow">#000000</color>
|
||||
<color name="base_blue">#1E96F0</color>
|
||||
<color name="base_red">#F54137</color>
|
||||
<color name="base_yellow">#FFCD00</color>
|
||||
<color name="base_bg_secondary">#F5F5F5</color>
|
||||
|
||||
<!-- TODO change all colors below, remove old ones-->
|
||||
|
|
Loading…
Add table
Reference in a new issue