forked from organicmaps/organicmaps
[android] Design fixes
This commit is contained in:
parent
f57f186e2c
commit
9fdc2d3947
6 changed files with 24 additions and 17 deletions
android/res
drawable-hdpi
drawable-mdpi
drawable-xhdpi
drawable-xxhdpi
drawable-xxxhdpi
layout
0
android/res/drawable-hdpi/ic_error_white.png
Executable file → Normal file
0
android/res/drawable-hdpi/ic_error_white.png
Executable file → Normal file
Before ![]() (image error) Size: 461 B After ![]() (image error) Size: 461 B ![]() ![]() |
0
android/res/drawable-mdpi/ic_error_white.png
Executable file → Normal file
0
android/res/drawable-mdpi/ic_error_white.png
Executable file → Normal file
Before ![]() (image error) Size: 288 B After ![]() (image error) Size: 288 B ![]() ![]() |
0
android/res/drawable-xhdpi/ic_error_white.png
Executable file → Normal file
0
android/res/drawable-xhdpi/ic_error_white.png
Executable file → Normal file
Before ![]() (image error) Size: 528 B After ![]() (image error) Size: 528 B ![]() ![]() |
0
android/res/drawable-xxhdpi/ic_error_white.png
Executable file → Normal file
0
android/res/drawable-xxhdpi/ic_error_white.png
Executable file → Normal file
Before ![]() (image error) Size: 779 B After ![]() (image error) Size: 779 B ![]() ![]() |
0
android/res/drawable-xxxhdpi/ic_error_white.png
Executable file → Normal file
0
android/res/drawable-xxxhdpi/ic_error_white.png
Executable file → Normal file
Before ![]() (image error) Size: 1.1 KiB After ![]() (image error) Size: 1.1 KiB ![]() ![]() |
|
@ -162,26 +162,33 @@
|
|||
android:id="@+id/driving_options_btn"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:layout_width="match_parent"
|
||||
android:gravity="center"
|
||||
android:minHeight="@dimen/height_block_base"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:id="@+id/driving_options_btn_title"
|
||||
android:layout_centerInParent="true"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/tips_and_triks_primary_text"
|
||||
android:textAllCaps="true"
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_half_plus_eight"
|
||||
android:layout_marginEnd="@dimen/margin_half_plus_eight"/>
|
||||
<ImageView
|
||||
android:id="@+id/driving_options_btn_img"
|
||||
android:src="@drawable/ic_error_white"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="@dimen/margin_base_plus"
|
||||
android:layout_height="@dimen/margin_base_plus"
|
||||
android:layout_toLeftOf="@id/driving_options_btn_title"
|
||||
android:layout_toStartOf="@id/driving_options_btn_title"/>
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/driving_options_btn_img"
|
||||
android:src="@drawable/ic_error_white"
|
||||
android:layout_marginRight="@dimen/margin_half_plus_eight"
|
||||
android:layout_marginEnd="@dimen/margin_half_plus_eight"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="@dimen/margin_base_plus"
|
||||
android:layout_height="@dimen/margin_base_plus"/>
|
||||
<TextView
|
||||
android:id="@+id/driving_options_btn_title"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/tips_and_triks_primary_text"
|
||||
android:textAllCaps="true"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:fontFamily="@string/robotoMedium"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="UnusedAttribute"/>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
|
Loading…
Add table
Reference in a new issue