Commit bcadfa76 authored by zhang_z's avatar zhang_z

Merge remote-tracking branch 'origin/master'

parents 48a3a245 21eaf788
This diff is collapsed.
...@@ -48,7 +48,7 @@ public class LoginActivity extends BaseActivity<LoginPresenter, ActivityLoginBin ...@@ -48,7 +48,7 @@ public class LoginActivity extends BaseActivity<LoginPresenter, ActivityLoginBin
// } // }
LogUtils.e("LoginActivity + initView"); LogUtils.e("LoginActivity + initView");
loadRootFragment(R.id.fra, mPresenter.signInFragment); loadRootFragment(R.id.fra, mPresenter.bindingCounterFragment);
mViewBinding.setText1(": 400 - 800 - 9406"); mViewBinding.setText1(": 400 - 800 - 9406");
mViewBinding.setOnClickListener(v -> { mViewBinding.setOnClickListener(v -> {
switch (v.getId()) { switch (v.getId()) {
......
...@@ -55,16 +55,15 @@ ...@@ -55,16 +55,15 @@
<Button <Button
android:id="@+id/btn_next" android:id="@+id/btn_next"
style="@style/view_base" style="@style/button"
android:layout_marginTop="@dimen/et_margin_logo" android:layout_marginTop="@dimen/et_margin_logo"
android:background="@drawable/blue_border"
android:onClick="@{onClickListener}" android:onClick="@{onClickListener}"
android:text="@string/login_smscodefragment_btn_next" android:text="@string/login_smscodefragment_btn_next"
android:textColor="@color/white" />
android:textSize="@dimen/et_textsize"/>
<RelativeLayout <RelativeLayout
style="@style/view_base" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/et_margin_logo"> android:layout_marginTop="@dimen/et_margin_logo">
<TextView <TextView
...@@ -72,6 +71,7 @@ ...@@ -72,6 +71,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_marginRight="@dimen/all_margin_left"
android:onClick="@{onClickListener}" android:onClick="@{onClickListener}"
android:text="已有账号 >" android:text="已有账号 >"
android:textColor="@color/white"/> android:textColor="@color/white"/>
......
...@@ -13,8 +13,15 @@ ...@@ -13,8 +13,15 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/appBack" android:background="@color/appBack"
android:orientation="vertical">
<include layout="@layout/title"></include>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center" android:gravity="center"
android:orientation="vertical">' android:orientation="vertical">
<ImageView <ImageView
android:id="@+id/iv_logo" android:id="@+id/iv_logo"
...@@ -80,13 +87,11 @@ ...@@ -80,13 +87,11 @@
<Button <Button
android:id="@+id/btn_next" android:id="@+id/btn_next"
style="@style/view_base" style="@style/button"
android:layout_marginTop="@dimen/et_margin_logo" android:layout_marginTop="@dimen/et_margin_logo"
android:background="@drawable/blue_border"
android:onClick="@{onClickListener}" android:onClick="@{onClickListener}"
android:text="@string/login_smscodefragment_btn_next" android:text="@string/login_smscodefragment_btn_next"
android:textColor="@color/white" />
android:textSize="@dimen/et_textsize"/>
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -97,13 +102,13 @@ ...@@ -97,13 +102,13 @@
android:id="@+id/tv_existing_account" android:id="@+id/tv_existing_account"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="@dimen/all_margin_left"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_marginRight="@dimen/all_margin_left"
android:onClick="@{onClickListener}" android:onClick="@{onClickListener}"
android:text="已有账号 >" android:text="已有账号 >"
android:textColor="@color/white"/> android:textColor="@color/white"/>
</RelativeLayout> </RelativeLayout>
</LinearLayout>
</LinearLayout> </LinearLayout>
</layout> </layout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layout>
<data>
<variable
name="onClickListener"
type="com.xingdata.zzdpos.util.OnClickListener"/>
</data>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@color/appBack"
android:orientation="horizontal">
<ImageView
android:id="@+id/iv_back"
android:layout_width="@dimen/title_height"
android:layout_height="match_parent"
android:gravity="center"
android:onClick="@{onClickListener}"
android:padding="16dp"
android:src="@mipmap/back_white"/>
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:padding="16dp"
android:text="标题"
android:textColor="@color/white"
android:textSize="@dimen/et_textsize"
android:textStyle="bold"/>
</RelativeLayout>
</layout>
\ No newline at end of file
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
<dimen name="text_primary_title">28sp</dimen> <dimen name="text_primary_title">28sp</dimen>
<!--二级标题--> <!--二级标题-->
<dimen name="text_secondary_title">20sp</dimen> <dimen name="text_secondary_title">20sp</dimen>
<!--三级标题-->
<dimen name="text_three_title">18sp</dimen>
<!--标题控件宽度--> <!--标题控件宽度-->
<dimen name="title_width">84dp</dimen> <dimen name="title_width">84dp</dimen>
<!--Dialog--> <!--Dialog-->
...@@ -91,13 +93,13 @@ ...@@ -91,13 +93,13 @@
<dimen name="smscodefragment_drop_get_sms_width">84dp</dimen> <dimen name="smscodefragment_drop_get_sms_width">84dp</dimen>
<!--创建门店界面--> <!--创建门店界面-->
<dimen name="item_title_width">80dp</dimen> <dimen name="item_title_width">80dp</dimen>
<dimen name="item_title_margin">15dp</dimen> <dimen name="item_title_margin">5dp</dimen>
<dimen name="bar_margin">15dp</dimen> <dimen name="bar_margin">15dp</dimen>
<dimen name="create_store_btn_width">110dp</dimen> <dimen name="create_store_btn_width">110dp</dimen>
<dimen name="create_store_btn_height">40dp</dimen> <dimen name="create_store_btn_height">40dp</dimen>
<!--绑定款台界面--> <!--绑定款台界面-->
<dimen name="new_counter_btn_width">150dp</dimen> <dimen name="new_counter_btn_width">120dp</dimen>
<dimen name="new_counter_btn_height">40dp</dimen> <dimen name="new_counter_btn_height">30dp</dimen>
<dimen name="new_counter_btn_margin_left">10dp</dimen> <dimen name="new_counter_btn_margin_left">10dp</dimen>
<dimen name="bingding_counter_btn_width">110dp</dimen> <dimen name="bingding_counter_btn_width">110dp</dimen>
<dimen name="bingding_counter_btn_height">40dp</dimen> <dimen name="bingding_counter_btn_height">40dp</dimen>
...@@ -105,8 +107,9 @@ ...@@ -105,8 +107,9 @@
<dimen name="nicespinner_height">40dp</dimen> <dimen name="nicespinner_height">40dp</dimen>
<dimen name="counter_bar_width">350dp</dimen> <dimen name="counter_bar_width">350dp</dimen>
<dimen name="counter_input_height">45dp</dimen> <dimen name="counter_input_height">45dp</dimen>
<dimen name="counter_input_select">35dp</dimen>
<dimen name="counter_tv_width">590dp</dimen> <dimen name="counter_tv_width">590dp</dimen>
<dimen name="center_height">230dp</dimen> <dimen name="center_height">380dp</dimen>
<!-- 副屏 --> <!-- 副屏 -->
......
...@@ -227,6 +227,7 @@ ...@@ -227,6 +227,7 @@
<string name="login_createstorefragment_tv_storename">门店名称</string> <string name="login_createstorefragment_tv_storename">门店名称</string>
<string name="login_createstorefragment_tv_storetype">门店类型</string> <string name="login_createstorefragment_tv_storetype">门店类型</string>
<string name="login_createstorefragment_tv_storeaddress">门店地址</string> <string name="login_createstorefragment_tv_storeaddress">门店地址</string>
<string name="login_createstorefragment_tv_storeaddressmessage">详细地址</string>
<string name="login_createstorefragment_tv_storetype_hint">请选择门店类别(连锁/超市)</string> <string name="login_createstorefragment_tv_storetype_hint">请选择门店类别(连锁/超市)</string>
<string name="login_createstorefragment_tv_storeaddress_hint">请选择门店地址(省/市/县)</string> <string name="login_createstorefragment_tv_storeaddress_hint">请选择门店地址(省/市/县)</string>
<string name="login_createstorefragment_et_nickname_hint">请输入昵称</string> <string name="login_createstorefragment_et_nickname_hint">请输入昵称</string>
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
<style name="view_base" parent="android:ButtonBar"> <style name="view_base" parent="android:ButtonBar">
<item name="android:layout_height">@dimen/et_height</item> <item name="android:layout_height">@dimen/et_height</item>
<item name="android:layout_width">match_parent</item> <item name="android:layout_width">match_parent</item>
<item name="android:gravity">center_vertical</item> <item name="android:gravity">center</item>
<item name="android:layout_marginLeft">@dimen/all_margin_left</item> <item name="android:layout_marginLeft">@dimen/all_margin_left</item>
<item name="android:layout_marginRight">@dimen/all_margin_left</item> <item name="android:layout_marginRight">@dimen/all_margin_left</item>
</style> </style>
...@@ -282,8 +282,16 @@ ...@@ -282,8 +282,16 @@
<item name=" android:background">@drawable/transparent_border</item> <item name=" android:background">@drawable/transparent_border</item>
<item name="android:padding">@dimen/et_padding</item> <item name="android:padding">@dimen/et_padding</item>
<item name=" android:saveEnabled">false</item> <item name=" android:saveEnabled">false</item>
<item name="android:gravity">center|left</item>
<item name="android:textSize">@dimen/et_textsize</item> <item name="android:textSize">@dimen/et_textsize</item>
<item name="android:textColorHint">@color/hint</item> <item name="android:textColorHint">@color/hint</item>
</style> </style>
<style name="button" parent="view_base">
<item name=" android:background">@drawable/red_border</item>
<item name=" android:saveEnabled">false</item>
<item name="android:textSize">@dimen/et_textsize</item>
<item name=" android:textColor">@color/white</item>
<item name="android:textColorHint">@color/hint</item>
</style>
</resources> </resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment