minor fix
This commit is contained in:
parent
26ce1f9d7b
commit
47e8aa403b
3 changed files with 90 additions and 91 deletions
|
@ -33,7 +33,7 @@
|
|||
android:textColor="?android:textColorPrimary"
|
||||
android:textSize="@dimen/default_list_text_size"
|
||||
osmand:typeface="@string/font_roboto_medium"
|
||||
tools:text="Some title" />
|
||||
android:text="@string/login_open_street_map_org" />
|
||||
|
||||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:id="@+id/description"
|
||||
|
@ -44,6 +44,6 @@
|
|||
android:paddingTop="@dimen/content_padding_small"
|
||||
android:textSize="@dimen/default_list_text_size"
|
||||
osmand:typeface="@string/font_roboto_regular"
|
||||
tools:text="Some description" />
|
||||
android:text="@string/open_street_map_login_mode" />
|
||||
|
||||
</LinearLayout>
|
|
@ -17,6 +17,7 @@ import net.osmand.AndroidUtils;
|
|||
import net.osmand.plus.R;
|
||||
import net.osmand.plus.UiUtilities.DialogButtonType;
|
||||
import net.osmand.plus.base.MenuBottomSheetDialogFragment;
|
||||
import net.osmand.plus.base.bottomsheetmenu.SimpleBottomSheetItem;
|
||||
import net.osmand.plus.base.bottomsheetmenu.simpleitems.DividerSpaceItem;
|
||||
import net.osmand.plus.base.bottomsheetmenu.simpleitems.ShortDescriptionItem;
|
||||
import net.osmand.plus.osmedit.oauth.OsmOAuthAuthorizationAdapter;
|
||||
|
@ -33,9 +34,7 @@ public class LoginBottomSheetFragment extends MenuBottomSheetDialogFragment {
|
|||
|
||||
@Override
|
||||
public void createMenuItems(Bundle savedInstanceState) {
|
||||
items.add(new ShortDescriptionItem.Builder()
|
||||
.setDescription(getString(R.string.open_street_map_login_mode))
|
||||
.setTitle(getString(R.string.login_open_street_map_org))
|
||||
items.add(new SimpleBottomSheetItem.Builder()
|
||||
.setLayoutId(R.layout.bottom_sheet_login)
|
||||
.create());
|
||||
|
||||
|
|
Loading…
Reference in a new issue