Commit 34c76b40 by chengfengpiaopiao

增加夺宝竞猜手机登录页icon

parent 67e7538f
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</profile-state> </profile-state>
</entry> </entry>
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">
......
...@@ -171,7 +171,7 @@ public class LoginActivity extends Activity implements ILoginView { ...@@ -171,7 +171,7 @@ public class LoginActivity extends Activity implements ILoginView {
@Override @Override
public void onNext(WrapperRspEntity<String> userWrapperRspEntity) { public void onNext(WrapperRspEntity<String> userWrapperRspEntity) {
Log.i("tangwen", "onNext: " + userWrapperRspEntity.getData().toString()); // Log.i("tangwen", "onNext: " + userWrapperRspEntity.getData().toString()); //注意空指针异常
onStartMainActivity(); onStartMainActivity();
} }
......
...@@ -9,15 +9,25 @@ ...@@ -9,15 +9,25 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout
android:gravity="center"
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="0dp">
<ImageView
android:src="@drawable/login_bg_logo"
android:padding="55dp"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/input_phone_layout" android:id="@+id/input_phone_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="46dp" android:layout_height="46dp"
android:layout_marginTop="40dp"
android:orientation="horizontal" android:orientation="horizontal"
android:gravity="center_vertical" android:gravity="center_vertical"
android:background="@drawable/login_input_bg" android:background="@drawable/login_input_bg">
>
<ImageView <ImageView
android:layout_width="18dp" android:layout_width="18dp"
...@@ -47,67 +57,75 @@ ...@@ -47,67 +57,75 @@
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/input_checkcode_layout" android:layout_weight="1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="46dp" android:layout_height="0dp"
android:orientation="horizontal" android:orientation="vertical">
android:gravity="center_vertical"
android:layout_below="@+id/input_password_layout"
android:layout_marginTop="13dp"
android:background="@drawable/login_input_bg"
>
<ImageView
android:layout_width="28dp"
android:layout_height="23dp"
android:src="@drawable/input_checkcode"
android:layout_marginLeft="17dp"
/>
<EditText <LinearLayout
android:id="@+id/etv_login_checkcode" android:id="@+id/input_checkcode_layout"
android:layout_width="0dp" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="46dp"
android:layout_weight="1" android:orientation="horizontal"
android:background="@null"
android:gravity="center_vertical" android:gravity="center_vertical"
android:hint="@string/login_input_checkcode_hint" android:layout_below="@+id/input_password_layout"
android:maxLength="20" android:layout_marginTop="13dp"
android:singleLine="true" android:background="@drawable/login_input_bg"
android:textColor="#cc222222" >
android:textColorHint="#cacaca"
android:digits="0123456789" <ImageView
android:textCursorDrawable="@null" android:layout_width="28dp"
android:layout_marginLeft="7dp" android:layout_height="23dp"
android:textSize="17sp" /> android:src="@drawable/input_checkcode"
android:layout_marginLeft="17dp"
/>
<EditText
android:id="@+id/etv_login_checkcode"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:gravity="center_vertical"
android:hint="@string/login_input_checkcode_hint"
android:maxLength="20"
android:singleLine="true"
android:textColor="#cc222222"
android:textColorHint="#cacaca"
android:digits="0123456789"
android:textCursorDrawable="@null"
android:layout_marginLeft="7dp"
android:textSize="17sp" />
<!-- android:background="@drawable/input_send_checkcode_bg"-->
<com.maile.jingcai.commponent.LoginClickTextView
android:id="@+id/tv_checkcode_send"
android:layout_width="122dp"
android:layout_height="match_parent"
android:text="@string/login_input_checkcode_send"
android:gravity="center"
android:textSize="17sp"
android:textColor="#2ebb4f"
/>
</LinearLayout>
<!-- android:background="@drawable/input_send_checkcode_bg"-->
<com.maile.jingcai.commponent.LoginClickTextView <com.maile.jingcai.commponent.LoginClickTextView
android:id="@+id/tv_checkcode_send" android:id="@+id/btn_login_phone"
android:layout_width="122dp" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="50dp"
android:text="@string/login_input_checkcode_send" android:background="@drawable/login_btn"
android:layout_below="@+id/login_input_view"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:text="@string/login"
android:gravity="center" android:gravity="center"
android:textSize="17sp" android:textColor="#ffffff"
android:textColor="#2ebb4f" android:textSize="18sp"
android:layout_marginTop="64dp"
/> />
</LinearLayout> </LinearLayout>
<com.maile.jingcai.commponent.LoginClickTextView
android:id="@+id/btn_login_phone"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@drawable/login_btn"
android:layout_below="@+id/login_input_view"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:text="@string/login"
android:gravity="center"
android:textColor="#ffffff"
android:textSize="18sp"
android:layout_marginTop="64dp"
/>
</LinearLayout> </LinearLayout>
\ No newline at end of file
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 sign in to comment