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
ea3e05f4
Commit
ea3e05f4
authored
Mar 02, 2019
by
Arthur Diniz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify profile EditText xml with style
Signed-off-by:
Arthur Diniz
<
arthurbdiniz@gmail.com
>
parent
f1065cd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
fragment_profile.xml
app/src/main/res/layout/fragment_profile.xml
+0
-6
styles.xml
app/src/main/res/values/styles.xml
+4
-1
No files found.
app/src/main/res/layout/fragment_profile.xml
View file @
ea3e05f4
...
...
@@ -39,8 +39,6 @@
android:id=
"@+id/text_name"
style=
"@style/Profile.EditText"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:layout_marginTop=
"8dp"
android:drawableStart=
"@drawable/ic_person_black_20dp"
android:hint=
"@string/msg_profile_name_hint"
android:inputType=
"textCapWords"
/>
...
...
@@ -55,8 +53,6 @@
android:id=
"@+id/text_username"
style=
"@style/Profile.EditText"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:layout_marginTop=
"8dp"
android:drawableStart=
"@drawable/ic_at_black_20dp"
android:hint=
"@string/msg_profile_username_hint"
android:inputType=
"text"
/>
...
...
@@ -71,8 +67,6 @@
android:id=
"@+id/text_email"
style=
"@style/Profile.EditText"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:layout_marginTop=
"8dp"
android:layout_marginBottom=
"16dp"
android:drawableStart=
"@drawable/ic_email_black_20dp"
android:hint=
"@string/msg_profile_email_hint"
...
...
app/src/main/res/values/styles.xml
View file @
ea3e05f4
...
...
@@ -247,7 +247,10 @@
</style>
// REMARK: To be removed.
<style
name=
"Profile.EditText"
parent=
"Authentication.EditText.Border"
/>
<style
name=
"Profile.EditText"
parent=
"Authentication.EditText.Border"
>
<item
name=
"android:layout_height"
>
48dp
</item>
<item
name=
"android:layout_marginTop"
>
8dp
</item>
</style>
<style
name=
"Profile.TextView"
parent=
"TextAppearance.AppCompat.Title"
>
<item
name=
"android:textSize"
>
16sp
</item>
...
...
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