Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
门心叼龙
android-mvvm-architecture
提交
386ca35a
A
android-mvvm-architecture
项目概览
门心叼龙
/
android-mvvm-architecture
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
android-mvvm-architecture
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
386ca35a
编写于
2月 02, 2019
作者:
A
AMIT SHEKHAR
提交者:
GitHub
2月 02, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #45 from seifian/feat/constraint-layout-as-about-parent
Replace constraint layout with linear layout in about fragment
上级
f16a4bd1
67658e7b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
37 addition
and
16 deletion
+37
-16
app/build.gradle
app/build.gradle
+1
-0
app/src/main/res/layout/fragment_about.xml
app/src/main/res/layout/fragment_about.xml
+35
-16
build.gradle
build.gradle
+1
-0
未找到文件。
app/build.gradle
浏览文件 @
386ca35a
...
...
@@ -60,6 +60,7 @@ dependencies {
implementation
"com.android.support:design:$rootProject.supportLibraryVersion"
implementation
"com.android.support:support-vector-drawable:$rootProject.supportLibraryVersion"
implementation
"com.android.support:animated-vector-drawable:$rootProject.supportLibraryVersion"
implementation
"com.android.support.constraint:constraint-layout:$rootProject.constraintLayoutVersion"
// network
implementation
"com.amitshekhar.android:rx2-android-networking:$rootProject.rx2FastAndroidNetworking"
...
...
app/src/main/res/layout/fragment_about.xml
浏览文件 @
386ca35a
...
...
@@ -25,18 +25,21 @@
</data>
<
Linear
Layout
<
android.support.constraint.Constraint
Layout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/black_effective"
android:orientation=
"vertical"
>
android:background=
"@color/black_effective"
>
<LinearLayout
android:layout_width=
"match_parent"
android:id=
"@+id/toolbar"
android:layout_width=
"0dp"
android:layout_height=
"55dp"
android:layout_marginTop=
"@dimen/app_bar_height"
android:gravity=
"center|start"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<ImageButton
android:id=
"@+id/navBackBtn"
...
...
@@ -61,56 +64,72 @@
</LinearLayout>
<TextView
android:id=
"@+id/txt_heading"
style=
"@style/TextStyle.Heading"
android:layout_width=
"
match_parent
"
android:layout_width=
"
0dp
"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"30dp"
android:autoLink=
"web"
android:padding=
"20dp"
android:text=
"@string/project_info"
android:textColor=
"@color/white"
android:textSize=
"20sp"
/>
android:textSize=
"20sp"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/toolbar"
/>
<TextView
android:id=
"@+id/tvMvpBlog"
style=
"@style/TextStyle.Title"
android:layout_width=
"
match_parent
"
android:layout_width=
"
0dp
"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:autoLink=
"web"
android:padding=
"10dp"
android:text=
"@string/link_mvvm_blog"
android:textColor=
"@color/white"
/>
android:textColor=
"@color/white"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/txt_heading"
/>
<TextView
android:id=
"@+id/tvMvpRepo"
style=
"@style/TextStyle.Title"
android:layout_width=
"
match_parent
"
android:layout_width=
"
0dp
"
android:layout_height=
"wrap_content"
android:autoLink=
"web"
android:padding=
"10dp"
android:text=
"@string/link_mvvm_repo"
android:textColor=
"@color/white"
/>
android:textColor=
"@color/white"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tvMvpBlog"
/>
<TextView
android:id=
"@+id/tvMindorksBlog"
style=
"@style/TextStyle.Title"
android:layout_width=
"
match_parent
"
android:layout_width=
"
0dp
"
android:layout_height=
"wrap_content"
android:autoLink=
"web"
android:padding=
"10dp"
android:text=
"@string/link_mindorks_blog"
android:textColor=
"@color/white"
/>
android:textColor=
"@color/white"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tvMvpRepo"
/>
<TextView
android:id=
"@+id/tvMindorksRepo"
style=
"@style/TextStyle.Title"
android:layout_width=
"
match_parent
"
android:layout_width=
"
0dp
"
android:layout_height=
"wrap_content"
android:autoLink=
"web"
android:padding=
"10dp"
android:text=
"@string/link_mindorks_repo"
android:textColor=
"@color/white"
/>
</LinearLayout>
android:textColor=
"@color/white"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tvMindorksBlog"
/>
</android.support.constraint.ConstraintLayout>
</layout>
\ No newline at end of file
build.gradle
浏览文件 @
386ca35a
...
...
@@ -48,6 +48,7 @@ ext {
targetSdkVersion
=
28
compileSdkVersion
=
28
buildToolsVersion
=
'28.0.3'
constraintLayoutVersion
=
'1.1.2'
// App dependencies
supportLibraryVersion
=
'28.0.0'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录