First fragment fix
This commit is contained in:
parent
bc8229dabe
commit
236e6082f7
4 changed files with 18 additions and 3 deletions
5
OsmAnd/res/drawable-v21/btn_round.xml
Normal file
5
OsmAnd/res/drawable-v21/btn_round.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?attr/colorControlHighlight">
|
||||
<item android:drawable="@drawable/btn_round_n"/>
|
||||
</ripple>
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:clickable="true"
|
||||
android:theme="@style/OsmandLightTheme">
|
||||
|
||||
|
@ -51,7 +52,7 @@
|
|||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Download map"
|
||||
android:text="@string/shared_string_download_map"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/default_list_text_size"
|
||||
osmand:typeface="@string/font_roboto_regular"/>
|
||||
|
@ -87,6 +88,9 @@
|
|||
android:id="@+id/skip_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="skip skip skip"
|
||||
android:padding="12dp"
|
||||
android:background="@drawable/btn_round"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/shared_string_skip"
|
||||
android:textColor="@color/dashboard_general_button_text_light"/>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:clickable="true"
|
||||
android:theme="@style/OsmandLightTheme">
|
||||
|
||||
|
@ -51,7 +52,7 @@
|
|||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Download map"
|
||||
android:text="@string/shared_string_download_map"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/default_list_text_size"
|
||||
osmand:typeface="@string/font_roboto_regular"/>
|
||||
|
@ -69,8 +70,9 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:background="@null"
|
||||
android:drawableLeft="@drawable/ic_action_search_dark"
|
||||
tools:drawableLeft="@drawable/ic_action_search_dark"
|
||||
android:drawablePadding="12dp"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="Enter country name"
|
||||
|
@ -88,6 +90,9 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
tools:text="skip skip skip"
|
||||
android:padding="12dp"
|
||||
android:background="@drawable/btn_round"
|
||||
android:text="@string/shared_string_skip"
|
||||
android:textColor="@color/dashboard_general_button_text_light"/>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -94,6 +94,7 @@ public class DataStoragePlaceDialogFragment extends DialogFragment {
|
|||
closeImageButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
isInterestedInFirstTime = false;
|
||||
dismiss();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue