Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
de5bc497
Commit
de5bc497
authored
12 years ago
by
Emeric Vigier
Browse files
Options
Downloads
Patches
Plain Diff
#14652: Adjust buttons size and layout
parent
ea2f3a98
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
res/drawable/call_button.xml
+6
-6
6 additions, 6 deletions
res/drawable/call_button.xml
res/drawable/hangup_button.xml
+6
-6
6 additions, 6 deletions
res/drawable/hangup_button.xml
res/layout/activity_sflphone_home.xml
+12
-13
12 additions, 13 deletions
res/layout/activity_sflphone_home.xml
with
24 additions
and
25 deletions
res/drawable/call_button.xml
+
6
−
6
View file @
de5bc497
...
...
@@ -16,9 +16,9 @@
android:radius=
"3dp"
/>
<padding
android:left=
"10dp"
android:top=
"
1
0dp"
android:top=
"
2
0dp"
android:right=
"10dp"
android:bottom=
"
1
0dp"
/>
android:bottom=
"
2
0dp"
/>
</shape>
</item>
...
...
@@ -35,9 +35,9 @@
android:radius=
"3dp"
/>
<padding
android:left=
"10dp"
android:top=
"
1
0dp"
android:top=
"
2
0dp"
android:right=
"10dp"
android:bottom=
"
1
0dp"
/>
android:bottom=
"
2
0dp"
/>
</shape>
</item>
...
...
@@ -54,9 +54,9 @@
android:radius=
"3dp"
/>
<padding
android:left=
"10dp"
android:top=
"
1
0dp"
android:top=
"
2
0dp"
android:right=
"10dp"
android:bottom=
"
1
0dp"
/>
android:bottom=
"
2
0dp"
/>
</shape>
</item>
</selector>
This diff is collapsed.
Click to expand it.
res/drawable/hangup_button.xml
+
6
−
6
View file @
de5bc497
...
...
@@ -16,9 +16,9 @@
android:radius=
"3dp"
/>
<padding
android:left=
"10dp"
android:top=
"
1
0dp"
android:top=
"
2
0dp"
android:right=
"10dp"
android:bottom=
"
1
0dp"
/>
android:bottom=
"
2
0dp"
/>
</shape>
</item>
...
...
@@ -35,9 +35,9 @@
android:radius=
"3dp"
/>
<padding
android:left=
"10dp"
android:top=
"
1
0dp"
android:top=
"
2
0dp"
android:right=
"10dp"
android:bottom=
"
1
0dp"
/>
android:bottom=
"
2
0dp"
/>
</shape>
</item>
...
...
@@ -54,9 +54,9 @@
android:radius=
"3dp"
/>
<padding
android:left=
"10dp"
android:top=
"
1
0dp"
android:top=
"
2
0dp"
android:right=
"10dp"
android:bottom=
"
1
0dp"
/>
android:bottom=
"
2
0dp"
/>
</shape>
</item>
</selector>
This diff is collapsed.
Click to expand it.
res/layout/activity_sflphone_home.xml
+
12
−
13
View file @
de5bc497
...
...
@@ -62,8 +62,7 @@ as that of the covered work.
<LinearLayout
android:id=
"@+id/callButtonLayout"
android:layout_width=
"match_parent"
android:layout_height=
"45dp"
android:layout_below=
"@+id/pager"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"center_horizontal"
android:orientation=
"horizontal"
>
...
...
@@ -71,7 +70,7 @@ as that of the covered work.
<ImageButton
android:id=
"@+id/buttonCall"
android:layout_width=
"0dp"
android:layout_height=
"
wrap_cont
ent"
android:layout_height=
"
match_par
ent"
android:layout_weight=
".5"
android:background=
"@drawable/call_button"
android:gravity=
"center_vertical"
...
...
@@ -88,16 +87,16 @@ as that of the covered work.
android:onClick=
"onClick"
android:src=
"@drawable/ic_hangup"
/>
<ImageButton
android:id=
"@+id/buttonIncomingCall"
android:layout_width=
"0dp"
android:layout_height=
"
wrap_content"
android:layout_weight=
"0"
android:background=
"@drawable/hangup_button"
android:drawable=
"@drawable/hangup_button"
android:gravity=
"center_vertical"
android:onClick=
"onClick"
android:src=
"@drawable/ic_incomingcall"
/>
<!--
<ImageButton
-->
<!--
android:id="@+id/buttonIncomingCall"
-->
<!--
android:layout_width="0dp"
-->
<!--
android:layout_height="
match_parent" -->
<!--
android:layout_weight="0"
-->
<!--
android:background="@drawable/hangup_button"
-->
<!--
android:drawable="@drawable/hangup_button"
-->
<!--
android:gravity="center_vertical"
-->
<!--
android:onClick="onClick"
-->
<!--
android:src="@drawable/ic_incomingcall" />
-->
</LinearLayout>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment