Tiny clean up.
This commit is contained in:
parent
90583b313c
commit
c68627a64b
4 changed files with 18 additions and 14 deletions
|
@ -1,12 +1,18 @@
|
|||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="net.osmand.plus.liveupdates.ReportsFragment">
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
tools:context="net.osmand.plus.liveupdates.ReportsFragment">
|
||||
|
||||
<include layout="@layout/shadow_top"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/hello_blank_fragment"/>
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/select_month_and_country"/>
|
||||
|
||||
</FrameLayout>
|
||||
<include layout="@layout/shadow_bottom"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -2147,7 +2147,5 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
|
|||
<string name="weekly">Weekly</string>
|
||||
<string name="morning">Morning</string>
|
||||
<string name="Night">Night</string>
|
||||
|
||||
<!-- TODO: Remove or change this placeholder text -->
|
||||
<string name="hello_blank_fragment">Hello blank fragment</string>
|
||||
<string name="select_month_and_country">Select month and country</string>
|
||||
</resources>
|
|
@ -54,7 +54,7 @@ import static net.osmand.plus.liveupdates.LiveUpdatesHelper.preferenceUpdateFreq
|
|||
import static net.osmand.plus.liveupdates.LiveUpdatesHelper.setAlarmForPendingIntent;
|
||||
|
||||
public class LiveUpdatesFragment extends Fragment {
|
||||
public static final String TITILE = "Live Updates";
|
||||
public static final String TITLE = "Live Updates";
|
||||
public static final Comparator<LocalIndexInfo> LOCAL_INDEX_INFO_COMPARATOR = new Comparator<LocalIndexInfo>() {
|
||||
@Override
|
||||
public int compare(LocalIndexInfo lhs, LocalIndexInfo rhs) {
|
||||
|
|
|
@ -64,8 +64,8 @@ public class OsmLiveActivity extends AbstractDownloadActivity
|
|||
public static class LiveUpdatesFragmentPagerAdapter extends FragmentPagerAdapter {
|
||||
private final Fragment[] fragments = new Fragment[]{new LiveUpdatesFragment(),
|
||||
new ReportsFragment()};
|
||||
private final String[] titles = new String[]{LiveUpdatesFragment.TITILE,
|
||||
LiveUpdatesFragment.TITILE};
|
||||
private final String[] titles = new String[]{LiveUpdatesFragment.TITLE,
|
||||
ReportsFragment.TITLE};
|
||||
|
||||
public LiveUpdatesFragmentPagerAdapter(FragmentManager fm) {
|
||||
super(fm);
|
||||
|
|
Loading…
Reference in a new issue