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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
c9b4e9ee
Commit
c9b4e9ee
authored
11 years ago
by
Alexandre Lision
Browse files
Options
Downloads
Patches
Plain Diff
ui: expand icon tabs
parent
e83efebc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/org/sflphone/client/HomeActivity.java
+5
-7
5 additions, 7 deletions
src/org/sflphone/client/HomeActivity.java
with
5 additions
and
7 deletions
src/org/sflphone/client/HomeActivity.java
+
5
−
7
View file @
c9b4e9ee
...
@@ -79,7 +79,6 @@ import android.util.Log;
...
@@ -79,7 +79,6 @@ import android.util.Log;
import
android.view.Gravity
;
import
android.view.Gravity
;
import
android.view.MenuItem
;
import
android.view.MenuItem
;
import
android.view.View
;
import
android.view.View
;
import
android.widget.ImageView
;
import
android.widget.RelativeLayout
;
import
android.widget.RelativeLayout
;
import
android.widget.Toast
;
import
android.widget.Toast
;
...
@@ -105,7 +104,6 @@ public class HomeActivity extends Activity implements DialingFragment.Callbacks,
...
@@ -105,7 +104,6 @@ public class HomeActivity extends Activity implements DialingFragment.Callbacks,
SlidingUpPanelLayout
mContactDrawer
;
SlidingUpPanelLayout
mContactDrawer
;
private
DrawerLayout
mNavigationDrawer
;
private
DrawerLayout
mNavigationDrawer
;
private
ActionBarDrawerToggle
mDrawerToggle
;
private
ActionBarDrawerToggle
mDrawerToggle
;
ImageView
mShadow
;
/**
/**
* The {@link ViewPager} that will host the section contents.
* The {@link ViewPager} that will host the section contents.
*/
*/
...
@@ -183,8 +181,6 @@ public class HomeActivity extends Activity implements DialingFragment.Callbacks,
...
@@ -183,8 +181,6 @@ public class HomeActivity extends Activity implements DialingFragment.Callbacks,
}
}
});
});
mShadow
=
(
ImageView
)
findViewById
(
R
.
id
.
overall_shadow
);
// Set up the ViewPager with the sections adapter.
// Set up the ViewPager with the sections adapter.
mViewPager
=
(
ViewPager
)
findViewById
(
R
.
id
.
pager
);
mViewPager
=
(
ViewPager
)
findViewById
(
R
.
id
.
pager
);
mViewPager
.
setPageTransformer
(
true
,
new
ZoomOutPageTransformer
(
0.7f
));
mViewPager
.
setPageTransformer
(
true
,
new
ZoomOutPageTransformer
(
0.7f
));
...
@@ -572,10 +568,12 @@ public class HomeActivity extends Activity implements DialingFragment.Callbacks,
...
@@ -572,10 +568,12 @@ public class HomeActivity extends Activity implements DialingFragment.Callbacks,
@Override
@Override
public
void
toggleDrawer
()
{
public
void
toggleDrawer
()
{
if
(
mContactDrawer
.
isExpanded
())
if
(
!
mContactDrawer
.
isExpanded
())
mContactDrawer
.
collapse
Pane
();
mContactDrawer
.
expand
Pane
(
0.3f
);
else
else
if
(
mContactDrawer
.
isAnchored
())
mContactDrawer
.
expandPane
();
mContactDrawer
.
expandPane
();
else
mContactDrawer
.
collapsePane
();
}
}
@Override
@Override
...
...
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