This repository has been archived by the owner on Jun 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sergey Shatunov
committed
Mar 18, 2014
1 parent
69d19d3
commit 4db2a9b
Showing
84 changed files
with
1,981 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
addons/slider/res/drawable/slider_menu_expander_holo_dark.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/expander_open_holo_dark" android:state_expanded="true" /> | ||
<!-- TODO Fix shadows --> | ||
<item> | ||
<rotate android:drawable="@drawable/expander_close_holo_dark" android:fromDegrees="90" android:toDegrees="90" android:pivotX="50%" android:pivotY="50%" /> | ||
</item> | ||
</selector> |
8 changes: 8 additions & 0 deletions
8
addons/slider/res/drawable/slider_menu_expander_holo_light.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/expander_open_holo_light" android:state_expanded="true" /> | ||
<!-- TODO Fix shadows --> | ||
<item> | ||
<rotate android:drawable="@drawable/expander_close_holo_light" android:fromDegrees="90" android:toDegrees="90" android:pivotX="50%" android:pivotY="50%" /> | ||
</item> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
addons/slider/res/layout/slider_default_expandable_list_layout.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<ExpandableListView xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/slider_menu" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:groupIndicator="@null" | ||
android:background="?sliderMenuPanelBackground" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<ListView xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@android:id/list" | ||
android:id="@+id/slider_menu" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="?sliderMenuPanelBackground" /> | ||
android:background="?sliderMenuPanelBackground" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ViewStubHolo xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/slider_menu" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> |
31 changes: 31 additions & 0 deletions
31
addons/slider/res/layout/slider_menu_expandable_child_item.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="?listPreferredItemHeightSmall" | ||
android:background="?selectableItemBackground" | ||
android:minHeight="?listPreferredItemHeightSmall" | ||
android:orientation="horizontal"> | ||
|
||
<View | ||
android:id="@+id/groupIndicator" | ||
android:layout_width="6dp" | ||
android:layout_height="match_parent" | ||
android:layout_marginRight="6dp" /> | ||
|
||
<ImageView | ||
android:id="@android:id/icon1" | ||
android:layout_width="36dp" | ||
android:layout_height="36dp" | ||
android:layout_gravity="center_vertical" | ||
android:layout_marginRight="8dp" | ||
android:maxHeight="52dp" | ||
android:maxWidth="52dp" /> | ||
|
||
<TextView | ||
android:id="@android:id/text1" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="match_parent" | ||
android:gravity="center_vertical" | ||
android:textAppearance="?android:textAppearanceMedium" /> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="?listPreferredItemHeightSmall" | ||
android:background="?selectableItemBackground" | ||
android:minHeight="?listPreferredItemHeightSmall" | ||
android:orientation="horizontal"> | ||
|
||
<View | ||
android:id="@+id/selectionHandler" | ||
android:layout_width="6dp" | ||
android:layout_height="match_parent" | ||
android:layout_marginRight="6dp" /> | ||
|
||
<ImageView | ||
android:id="@android:id/icon1" | ||
android:layout_width="36dp" | ||
android:layout_height="36dp" | ||
android:layout_gravity="center_vertical" | ||
android:layout_marginRight="8dp" | ||
android:maxHeight="52dp" | ||
android:maxWidth="52dp" /> | ||
|
||
<TextView | ||
android:id="@android:id/text1" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="match_parent" | ||
android:gravity="center_vertical" | ||
android:textAppearance="?android:textAppearanceMedium" /> | ||
|
||
<org.holoeverywhere.slider.SliderMenuGroupIndicatorView | ||
android:id="@+id/slider_menu_group_indicator" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:src="?sliderMenuGroupIndicator" /> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.