Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
livekitAndroidXuningTest
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David Liu
2021-11-17 21:28:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
36384a679c3c978034717aa9b815e21c4a4151f0
36384a67
1 parent
c90d11b3
update initial connect screen look and feel
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
17 行增加
和
5 行删除
sample-app/src/main/res/layout/main_activity.xml
sample-app/src/main/res/values/colors.xml
sample-app/src/main/res/values/styles.xml
sample-app/src/main/res/layout/main_activity.xml
查看文件 @
36384a6
...
...
@@ -2,12 +2,21 @@
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:padding=
"10dp"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"50dp"
android:src=
"@drawable/banner_dark"
/>
<com.google.android.material.textfield.TextInputLayout
android:id=
"@+id/url"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
android:hint=
"@string/url"
>
<com.google.android.material.textfield.TextInputEditText
...
...
@@ -20,6 +29,7 @@
android:id=
"@+id/token"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
android:hint=
"@string/token"
>
<com.google.android.material.textfield.TextInputEditText
...
...
@@ -32,6 +42,7 @@
android:id=
"@+id/connect_button"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
android:text=
"@string/connect"
/>
<Button
...
...
sample-app/src/main/res/values/colors.xml
查看文件 @
36384a6
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name=
"colorPrimary"
>
#008577
</color>
<color
name=
"colorPrimaryDark"
>
#00574B
</color>
<color
name=
"colorAccent"
>
#D81B60
</color>
<color
name=
"colorPrimary"
>
#007DFF
</color>
<color
name=
"colorPrimaryDark"
>
#0058b3
</color>
<color
name=
"colorAccent"
>
#66b1ff
</color>
</resources>
...
...
sample-app/src/main/res/values/styles.xml
查看文件 @
36384a6
<resources>
<!-- Base application theme. -->
<style
name=
"AppTheme"
parent=
"Theme.AppCompat.
Light.Dark
ActionBar"
>
<style
name=
"AppTheme"
parent=
"Theme.AppCompat.
No
ActionBar"
>
<!-- Customize your theme here. -->
<item
name=
"colorPrimary"
>
@color/colorPrimary
</item>
<item
name=
"colorPrimaryDark"
>
@color/colorPrimaryDark
</item>
<item
name=
"colorAccent"
>
@color/colorAccent
</item>
<item
name=
"android:windowBackground"
>
#000000
</item>
</style>
</resources>
...
...
请
注册
或
登录
后发表评论