Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
唐文
/
AiyoZhuaWaWa
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
34c76b40
authored
Nov 22, 2017
by
chengfengpiaopiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加夺宝竞猜手机登录页icon
parent
67e7538f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
58 deletions
.idea/misc.xml
app/src/main/java/com/maile/jingcai/view/activity/LoginActivity.java
app/src/main/res/drawable-xhdpi/login_bg_logo.png
app/src/main/res/layout/layer_login_phone.xml
.idea/misc.xml
View file @
34c76b40
...
@@ -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"
>
...
...
app/src/main/java/com/maile/jingcai/view/activity/LoginActivity.java
View file @
34c76b40
...
@@ -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
();
}
}
...
...
app/src/main/res/drawable-xhdpi/login_bg_logo.png
0 → 100644
View file @
34c76b40
15.6 KB
app/src/main/res/layout/layer_login_phone.xml
View file @
34c76b40
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment