Skip to content

Commit 9df29d0

Browse files
Christophe smetChristophe smet
Christophe smet
authored and
Christophe smet
committed
Added gradle files and added a function to hide the close button
1 parent 5c27016 commit 9df29d0

File tree

77 files changed

+3668
-688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+3668
-688
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Tue Jul 23 15:31:26 CEST 2013
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

library/build.gradle

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
dependencies {
6+
classpath 'com.android.tools.build:gradle:0.5.+'
7+
}
8+
}
9+
apply plugin: 'android-library'
10+
11+
dependencies {
12+
compile 'com.android.support:support-v4:13.0.+'
13+
14+
}
15+
16+
android {
17+
compileSdkVersion 17
18+
buildToolsVersion "17"
19+
20+
defaultConfig {
21+
minSdkVersion 8
22+
targetSdkVersion 17
23+
}
24+
sourceSets {
25+
main {
26+
manifest.srcFile 'AndroidManifest.xml'
27+
java.srcDirs = ['src']
28+
resources.srcDirs = ['src']
29+
aidl.srcDirs = ['src']
30+
renderscript.srcDirs = ['src']
31+
res.srcDirs = ['res']
32+
assets.srcDirs = ['assets']
33+
}
34+
35+
instrumentTest.setRoot('tests')
36+
}
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="eu.inmite.android.lib.dialogs">
2+
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>
3+
</manifest>

library/build/bundles/debug/R.txt

+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
int attr buttonBackgroundColorFocused 0x7f010008
2+
int attr buttonBackgroundColorNormal 0x7f010006
3+
int attr buttonBackgroundColorPressed 0x7f010007
4+
int attr buttonSeparatorColor 0x7f010005
5+
int attr buttonTextColor 0x7f010004
6+
int attr dialogBackground 0x7f010000
7+
int attr messageTextColor 0x7f010003
8+
int attr sdlDialogStyle 0x7f010009
9+
int attr titleSeparatorColor 0x7f010002
10+
int attr titleTextColor 0x7f010001
11+
int color sdl_button_focused_dark 0x7f040000
12+
int color sdl_button_focused_light 0x7f040001
13+
int color sdl_button_normal_dark 0x7f040002
14+
int color sdl_button_normal_light 0x7f040003
15+
int color sdl_button_pressed_dark 0x7f040004
16+
int color sdl_button_pressed_light 0x7f040005
17+
int color sdl_button_separator_dark 0x7f040006
18+
int color sdl_button_separator_light 0x7f040007
19+
int color sdl_button_text_dark 0x7f040008
20+
int color sdl_button_text_light 0x7f040009
21+
int color sdl_message_text_dark 0x7f04000a
22+
int color sdl_message_text_light 0x7f04000b
23+
int color sdl_title_separator_dark 0x7f04000c
24+
int color sdl_title_separator_light 0x7f04000d
25+
int color sdl_title_text_dark 0x7f04000e
26+
int color sdl_title_text_light 0x7f04000f
27+
int dimen grid_1 0x7f050000
28+
int dimen grid_10 0x7f050001
29+
int dimen grid_11 0x7f050002
30+
int dimen grid_12 0x7f050003
31+
int dimen grid_13 0x7f050004
32+
int dimen grid_14 0x7f050005
33+
int dimen grid_15 0x7f050006
34+
int dimen grid_16 0x7f050007
35+
int dimen grid_17 0x7f050008
36+
int dimen grid_18 0x7f050009
37+
int dimen grid_2 0x7f05000a
38+
int dimen grid_20 0x7f05000b
39+
int dimen grid_26 0x7f05000c
40+
int dimen grid_27 0x7f05000d
41+
int dimen grid_28 0x7f05000e
42+
int dimen grid_3 0x7f05000f
43+
int dimen grid_4 0x7f050010
44+
int dimen grid_43 0x7f050011
45+
int dimen grid_44 0x7f050012
46+
int dimen grid_45 0x7f050013
47+
int dimen grid_46 0x7f050014
48+
int dimen grid_5 0x7f050015
49+
int dimen grid_55 0x7f050016
50+
int dimen grid_57 0x7f050017
51+
int dimen grid_58 0x7f050018
52+
int dimen grid_6 0x7f050019
53+
int dimen grid_7 0x7f05001a
54+
int dimen grid_8 0x7f05001b
55+
int dimen grid_9 0x7f05001c
56+
int dimen grid_90 0x7f05001d
57+
int drawable sdl_background_dark 0x7f020000
58+
int drawable sdl_background_light 0x7f020001
59+
int id dialog_button_panel 0x7f080002
60+
int id dialog_button_separator 0x7f080003
61+
int id dialog_horizontal_separator 0x7f080001
62+
int id sdl__button_panel 0x7f080000
63+
int id sdl__content 0x7f08000e
64+
int id sdl__contentPanel 0x7f080008
65+
int id sdl__custom 0x7f080005
66+
int id sdl__customPanel 0x7f080004
67+
int id sdl__datepicker 0x7f080006
68+
int id sdl__listview 0x7f080007
69+
int id sdl__message 0x7f080009
70+
int id sdl__progress 0x7f08000b
71+
int id sdl__progressPanel 0x7f08000a
72+
int id sdl__title 0x7f08000c
73+
int id sdl__titleDivider 0x7f08000d
74+
int layout dialog_part_button 0x7f030000
75+
int layout dialog_part_button_panel 0x7f030001
76+
int layout dialog_part_button_separator 0x7f030002
77+
int layout dialog_part_custom 0x7f030003
78+
int layout dialog_part_datepicker 0x7f030004
79+
int layout dialog_part_list 0x7f030005
80+
int layout dialog_part_message 0x7f030006
81+
int layout dialog_part_progress 0x7f030007
82+
int layout dialog_part_title 0x7f030008
83+
int string dialog_close 0x7f060000
84+
int style DialogStyleDark 0x7f070000
85+
int style DialogStyleLight 0x7f070001
86+
int style SDL 0x7f070002
87+
int style SDL_Button 0x7f070003
88+
int style SDL_ButtonSeparator 0x7f070004
89+
int style SDL_DatePicker 0x7f070005
90+
int style SDL_Dialog 0x7f070006
91+
int style SDL_Group 0x7f070007
92+
int style SDL_Group_ButtonPanel 0x7f070008
93+
int style SDL_Group_Content 0x7f070009
94+
int style SDL_Group_Horizontal 0x7f07000a
95+
int style SDL_Group_Horizontal_ButtonPanel 0x7f07000b
96+
int style SDL_Group_Wrap 0x7f07000c
97+
int style SDL_HorizontalSeparator 0x7f07000d
98+
int style SDL_ListView 0x7f07000e
99+
int style SDL_Progress 0x7f07000f
100+
int style SDL_TextView 0x7f070010
101+
int style SDL_TextView_Message 0x7f070011
102+
int style SDL_TextView_Title 0x7f070012
103+
int style SDL_TitleSeparator 0x7f070013
104+
int[] styleable DialogStyle { 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007, 0x7f010008 }
105+
int styleable DialogStyle_buttonBackgroundColorFocused 8
106+
int styleable DialogStyle_buttonBackgroundColorNormal 6
107+
int styleable DialogStyle_buttonBackgroundColorPressed 7
108+
int styleable DialogStyle_buttonSeparatorColor 5
109+
int styleable DialogStyle_buttonTextColor 4
110+
int styleable DialogStyle_dialogBackground 0
111+
int styleable DialogStyle_messageTextColor 3
112+
int styleable DialogStyle_titleSeparatorColor 2
113+
int styleable DialogStyle_titleTextColor 1
114+
int[] styleable StyledDialogs { 0x7f010009 }
115+
int styleable StyledDialogs_sdlDialogStyle 0
17.2 KB
Binary file not shown.
Loading
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<Button xmlns:android="http://schemas.android.com/apk/res/android"
4+
style="@style/SDL.Button" />
5+
6+
<!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_button.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:id="@+id/sdl__button_panel"
5+
style="@style/SDL.Group.ButtonPanel">
6+
7+
<View
8+
style="@style/SDL.HorizontalSeparator"
9+
android:id="@+id/dialog_horizontal_separator" />
10+
11+
<LinearLayout
12+
android:id="@+id/dialog_button_panel"
13+
style="@style/SDL.Group.Horizontal.ButtonPanel"></LinearLayout>
14+
</LinearLayout><!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_button_panel.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<View xmlns:android="http://schemas.android.com/apk/res/android"
4+
style="@style/SDL.ButtonSeparator"
5+
android:id="@+id/dialog_button_separator" />
6+
7+
<!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_button_separator.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:id="@+id/sdl__customPanel"
5+
style="@style/SDL.Group.Content">
6+
<FrameLayout android:id="@+id/sdl__custom"
7+
style="@style/SDL.Group"/>
8+
</FrameLayout><!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_custom.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<DatePicker xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:id="@+id/sdl__datepicker"
5+
style="@style/SDL.DatePicker"/><!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_datepicker.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:id="@+id/sdl__listview"
5+
style="@style/SDL.ListView"/><!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_list.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:id="@+id/sdl__contentPanel"
4+
style="@style/SDL.Group.Wrap">
5+
<TextView android:id="@+id/sdl__message"
6+
style="@style/SDL.TextView.Message" />
7+
</ScrollView><!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_message.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:id="@+id/sdl__progressPanel"
5+
style="@style/SDL.Group"
6+
android:gravity="center_vertical"
7+
android:orientation="horizontal">
8+
9+
<ProgressBar android:id="@+id/sdl__progress"
10+
style="@style/SDL.Progress"
11+
android:layout_marginRight="@dimen/grid_1"/>
12+
13+
<include layout="@layout/dialog_part_message"/>
14+
15+
</LinearLayout><!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_progress.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
style="@style/SDL.Group">
4+
<TextView
5+
android:id="@+id/sdl__title"
6+
style="@style/SDL.TextView.Title"/>
7+
8+
<View
9+
android:id="@+id/sdl__titleDivider"
10+
style="@style/SDL.TitleSeparator"/>
11+
12+
<LinearLayout
13+
android:id="@+id/sdl__content"
14+
style="@style/SDL.Group"/>
15+
</LinearLayout>
16+
<!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/layout/dialog_part_title.xml -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<!-- From: file:/Users/ChristopheSmet/Documents/Android/android_studio_workplace/VisualVoiceMailFlavor/libraries/styleddialogs/library/res/values-v11/sdl__theme.xml -->
5+
<style name="SDL.Progress" parent="@android:style/Widget.Holo.ProgressBar">
6+
<item name="android:layout_width">wrap_content</item>
7+
<item name="android:layout_height">wrap_content</item>
8+
<item name="android:layout_marginRight">0dp</item>
9+
<item name="android:layout_marginLeft">@dimen/grid_4</item>
10+
<item name="android:layout_marginTop">@dimen/grid_4</item>
11+
<item name="android:layout_marginBottom">@dimen/grid_4</item>
12+
</style>
13+
14+
</resources>

0 commit comments

Comments
 (0)