First fragment fix

This commit is contained in:
GaidamakUA 2015-10-27 18:56:39 +02:00
parent bc8229dabe
commit 236e6082f7
4 changed files with 18 additions and 3 deletions

View 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>

View file

@ -4,6 +4,7 @@
xmlns:osmand="http://schemas.android.com/apk/res-auto" xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:clickable="true" android:clickable="true"
android:theme="@style/OsmandLightTheme"> android:theme="@style/OsmandLightTheme">
@ -51,7 +52,7 @@
<net.osmand.plus.widgets.TextViewEx <net.osmand.plus.widgets.TextViewEx
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Download map" android:text="@string/shared_string_download_map"
android:textColor="@color/color_white" android:textColor="@color/color_white"
android:textSize="@dimen/default_list_text_size" android:textSize="@dimen/default_list_text_size"
osmand:typeface="@string/font_roboto_regular"/> osmand:typeface="@string/font_roboto_regular"/>
@ -87,6 +88,9 @@
android:id="@+id/skip_button" android:id="@+id/skip_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="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:layout_gravity="center"
android:text="@string/shared_string_skip" android:text="@string/shared_string_skip"
android:textColor="@color/dashboard_general_button_text_light"/> android:textColor="@color/dashboard_general_button_text_light"/>

View file

@ -4,6 +4,7 @@
xmlns:osmand="http://schemas.android.com/apk/res-auto" xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:clickable="true" android:clickable="true"
android:theme="@style/OsmandLightTheme"> android:theme="@style/OsmandLightTheme">
@ -51,7 +52,7 @@
<net.osmand.plus.widgets.TextViewEx <net.osmand.plus.widgets.TextViewEx
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Download map" android:text="@string/shared_string_download_map"
android:textColor="@color/color_white" android:textColor="@color/color_white"
android:textSize="@dimen/default_list_text_size" android:textSize="@dimen/default_list_text_size"
osmand:typeface="@string/font_roboto_regular"/> osmand:typeface="@string/font_roboto_regular"/>
@ -69,8 +70,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginLeft="12dp" android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:background="@null" android:background="@null"
android:drawableLeft="@drawable/ic_action_search_dark" tools:drawableLeft="@drawable/ic_action_search_dark"
android:drawablePadding="12dp" android:drawablePadding="12dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:hint="Enter country name" android:hint="Enter country name"
@ -88,6 +90,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
tools:text="skip skip skip"
android:padding="12dp"
android:background="@drawable/btn_round"
android:text="@string/shared_string_skip" android:text="@string/shared_string_skip"
android:textColor="@color/dashboard_general_button_text_light"/> android:textColor="@color/dashboard_general_button_text_light"/>
</LinearLayout> </LinearLayout>

View file

@ -94,6 +94,7 @@ public class DataStoragePlaceDialogFragment extends DialogFragment {
closeImageButton.setOnClickListener(new View.OnClickListener() { closeImageButton.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
isInterestedInFirstTime = false;
dismiss(); dismiss();
} }
}); });