Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
a051ed24
Commit
a051ed24
authored
Mar 12, 2018
by
aniket
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makes minor layout changes
parent
771358f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
3 deletions
+61
-3
ic_person_add_black_24dp.xml
app/src/main/res/drawable/ic_person_add_black_24dp.xml
+9
-0
activity_create_new_channel.xml
app/src/main/res/layout/activity_create_new_channel.xml
+51
-3
strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
app/src/main/res/drawable/ic_person_add_black_24dp.xml
0 → 100644
View file @
a051ed24
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24.0"
android:viewportHeight=
"24.0"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M15,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM6,10L6,7L4,7v3L1,10v2h3v3h2v-3h3v-2L6,10zM15,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"
/>
</vector>
app/src/main/res/layout/activity_create_new_channel.xml
View file @
a051ed24
...
...
@@ -25,8 +25,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"16dp"
android:background=
"?selectableItemBackground"
android:alpha=
"0.7"
android:background=
"?selectableItemBackground"
android:enabled=
"false"
android:gravity=
"end"
android:text=
"@string/create_new_channel_action"
...
...
@@ -95,12 +95,13 @@
android:id=
"@+id/channel_description"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:text=
"@string/private_channel_type_description"
android:textColor=
"@color/black"
app:layout_constraintTop_toBottomOf=
"@id/channel_type"
/>
<View
android:id=
"@+id/separator"
android:id=
"@+id/separator
_1
"
android:layout_width=
"0dp"
android:layout_height=
"0.2dp"
android:layout_marginTop=
"8dp"
...
...
@@ -128,12 +129,59 @@
android:hint=
"@string/new_channel_edit_text_hint"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@id/placeholder"
app:layout_constraintTop_toBottomOf=
"@id/separator"
>
app:layout_constraintTop_toBottomOf=
"@id/separator
_1
"
>
<android.support.design.widget.TextInputEditText
android:id=
"@+id/channel_name_edit_text"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
</android.support.design.widget.TextInputLayout>
<View
android:id=
"@+id/separator_2"
android:layout_width=
"0dp"
android:layout_height=
"0.2dp"
android:layout_marginTop=
"8dp"
android:background=
"@color/colorDividerMessageComposer"
app:layout_constraintTop_toBottomOf=
"@id/channel_name_text_input_layout"
/>
<android.support.constraint.ConstraintLayout
android:id=
"@+id/add_members_view"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:background=
"?attr/selectableItemBackground"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/separator_2"
>
<TextView
android:id=
"@+id/add_members_text"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:text=
"@string/add_members_helper_text"
android:textColor=
"@color/black"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintHorizontal_chainStyle=
"spread"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_person_add_black_24dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"1"
app:layout_constraintStart_toEndOf=
"@id/add_members_text"
/>
</android.support.constraint.ConstraintLayout>
<View
android:id=
"@+id/separator_3"
android:layout_width=
"0dp"
android:layout_height=
"0.2dp"
android:layout_marginTop=
"8dp"
android:background=
"@color/colorDividerMessageComposer"
app:layout_constraintTop_toBottomOf=
"@id/add_members_view"
/>
</android.support.constraint.ConstraintLayout>
</android.support.constraint.ConstraintLayout>
\ No newline at end of file
app/src/main/res/values/strings.xml
View file @
a051ed24
...
...
@@ -73,6 +73,7 @@
<string
name=
"public_channel_description"
>
Visible to everyone
</string>
<string
name=
"new_channel_edit_text_hint"
>
Channel Name
</string>
<string
name=
"create_new_channel_action"
>
CREATE
</string>
<string
name=
"add_members_helper_text"
>
Add Members
</string>
<!-- System messages -->
<string
name=
"message_room_name_changed"
>
Room name changed to: %1$s by %2$s
</string>
...
...
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