Added new layout for information modules
This commit is contained in:
parent
e99910226d
commit
737b0b093a
|
@ -0,0 +1,4 @@
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.6
|
11
Android-PullToRefresh/bin/AndroidManifest.xml
Normal file
11
Android-PullToRefresh/bin/AndroidManifest.xml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.handmark.pulltorefresh.library"
|
||||||
|
android:versionCode="2110"
|
||||||
|
android:versionName="2.1.1" >
|
||||||
|
|
||||||
|
<uses-sdk android:minSdkVersion="4" />
|
||||||
|
|
||||||
|
<application />
|
||||||
|
|
||||||
|
</manifest>
|
78
Android-PullToRefresh/bin/R.txt
Normal file
78
Android-PullToRefresh/bin/R.txt
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
int anim slide_in_from_bottom 0x7f040000
|
||||||
|
int anim slide_in_from_top 0x7f040001
|
||||||
|
int anim slide_out_to_bottom 0x7f040002
|
||||||
|
int anim slide_out_to_top 0x7f040003
|
||||||
|
int attr ptrAdapterViewBackground 0x7f010010
|
||||||
|
int attr ptrAnimationStyle 0x7f01000c
|
||||||
|
int attr ptrDrawable 0x7f010006
|
||||||
|
int attr ptrDrawableBottom 0x7f010012
|
||||||
|
int attr ptrDrawableEnd 0x7f010008
|
||||||
|
int attr ptrDrawableStart 0x7f010007
|
||||||
|
int attr ptrDrawableTop 0x7f010011
|
||||||
|
int attr ptrHeaderBackground 0x7f010001
|
||||||
|
int attr ptrHeaderSubTextColor 0x7f010003
|
||||||
|
int attr ptrHeaderTextAppearance 0x7f01000a
|
||||||
|
int attr ptrHeaderTextColor 0x7f010002
|
||||||
|
int attr ptrListViewExtrasEnabled 0x7f01000e
|
||||||
|
int attr ptrMode 0x7f010004
|
||||||
|
int attr ptrOverScroll 0x7f010009
|
||||||
|
int attr ptrRefreshableViewBackground 0x7f010000
|
||||||
|
int attr ptrRotateDrawableWhilePulling 0x7f01000f
|
||||||
|
int attr ptrScrollingWhileRefreshingEnabled 0x7f01000d
|
||||||
|
int attr ptrShowIndicator 0x7f010005
|
||||||
|
int attr ptrSubHeaderTextAppearance 0x7f01000b
|
||||||
|
int dimen header_footer_left_right_padding 0x7f060003
|
||||||
|
int dimen header_footer_top_bottom_padding 0x7f060004
|
||||||
|
int dimen indicator_corner_radius 0x7f060001
|
||||||
|
int dimen indicator_internal_padding 0x7f060002
|
||||||
|
int dimen indicator_right_padding 0x7f060000
|
||||||
|
int drawable default_ptr_flip 0x7f020000
|
||||||
|
int drawable default_ptr_rotate 0x7f020001
|
||||||
|
int drawable indicator_arrow 0x7f020002
|
||||||
|
int drawable indicator_bg_bottom 0x7f020003
|
||||||
|
int drawable indicator_bg_top 0x7f020004
|
||||||
|
int id both 0x7f050003
|
||||||
|
int id disabled 0x7f050000
|
||||||
|
int id fl_inner 0x7f05000c
|
||||||
|
int id flip 0x7f050008
|
||||||
|
int id gridview 0x7f050009
|
||||||
|
int id manualOnly 0x7f050004
|
||||||
|
int id pullDownFromTop 0x7f050005
|
||||||
|
int id pullFromEnd 0x7f050002
|
||||||
|
int id pullFromStart 0x7f050001
|
||||||
|
int id pullUpFromBottom 0x7f050006
|
||||||
|
int id pull_to_refresh_image 0x7f05000d
|
||||||
|
int id pull_to_refresh_progress 0x7f05000e
|
||||||
|
int id pull_to_refresh_sub_text 0x7f050010
|
||||||
|
int id pull_to_refresh_text 0x7f05000f
|
||||||
|
int id rotate 0x7f050007
|
||||||
|
int id scrollview 0x7f05000b
|
||||||
|
int id webview 0x7f05000a
|
||||||
|
int layout pull_to_refresh_header_horizontal 0x7f030000
|
||||||
|
int layout pull_to_refresh_header_vertical 0x7f030001
|
||||||
|
int string pull_to_refresh_from_bottom_pull_label 0x7f070003
|
||||||
|
int string pull_to_refresh_from_bottom_refreshing_label 0x7f070005
|
||||||
|
int string pull_to_refresh_from_bottom_release_label 0x7f070004
|
||||||
|
int string pull_to_refresh_pull_label 0x7f070000
|
||||||
|
int string pull_to_refresh_refreshing_label 0x7f070002
|
||||||
|
int string pull_to_refresh_release_label 0x7f070001
|
||||||
|
int[] styleable PullToRefresh { 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d, 0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011, 0x7f010012 }
|
||||||
|
int styleable PullToRefresh_ptrAdapterViewBackground 16
|
||||||
|
int styleable PullToRefresh_ptrAnimationStyle 12
|
||||||
|
int styleable PullToRefresh_ptrDrawable 6
|
||||||
|
int styleable PullToRefresh_ptrDrawableBottom 18
|
||||||
|
int styleable PullToRefresh_ptrDrawableEnd 8
|
||||||
|
int styleable PullToRefresh_ptrDrawableStart 7
|
||||||
|
int styleable PullToRefresh_ptrDrawableTop 17
|
||||||
|
int styleable PullToRefresh_ptrHeaderBackground 1
|
||||||
|
int styleable PullToRefresh_ptrHeaderSubTextColor 3
|
||||||
|
int styleable PullToRefresh_ptrHeaderTextAppearance 10
|
||||||
|
int styleable PullToRefresh_ptrHeaderTextColor 2
|
||||||
|
int styleable PullToRefresh_ptrListViewExtrasEnabled 14
|
||||||
|
int styleable PullToRefresh_ptrMode 4
|
||||||
|
int styleable PullToRefresh_ptrOverScroll 9
|
||||||
|
int styleable PullToRefresh_ptrRefreshableViewBackground 0
|
||||||
|
int styleable PullToRefresh_ptrRotateDrawableWhilePulling 15
|
||||||
|
int styleable PullToRefresh_ptrScrollingWhileRefreshingEnabled 13
|
||||||
|
int styleable PullToRefresh_ptrShowIndicator 5
|
||||||
|
int styleable PullToRefresh_ptrSubHeaderTextAppearance 11
|
BIN
Android-PullToRefresh/bin/android-pulltorefresh.jar
Normal file
BIN
Android-PullToRefresh/bin/android-pulltorefresh.jar
Normal file
Binary file not shown.
3
Android-PullToRefresh/lint.xml
Normal file
3
Android-PullToRefresh/lint.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<lint>
|
||||||
|
</lint>
|
|
@ -8,5 +8,5 @@
|
||||||
# project structure.
|
# project structure.
|
||||||
|
|
||||||
# Project target.
|
# Project target.
|
||||||
target=android-16
|
target=android-19
|
||||||
android.library=true
|
android.library=true
|
||||||
|
|
3
SWADroid/lint.xml
Normal file
3
SWADroid/lint.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<lint>
|
||||||
|
</lint>
|
24
SWADroid/res/layout/webview_information_screen_layout.xml
Normal file
24
SWADroid/res/layout/webview_information_screen_layout.xml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<?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="match_parent"
|
||||||
|
|
||||||
|
|
||||||
|
android:background="@color/background"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<include layout="@layout/action_bar"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<WebView
|
||||||
|
android:id="@+id/webview_dialog"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent" >
|
||||||
|
</WebView>
|
||||||
|
|
||||||
|
</LinearLayout>
|
|
@ -9,11 +9,26 @@ package es.ugr.swad.swadroid.modules.information;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.security.NoSuchAlgorithmException;
|
import java.security.NoSuchAlgorithmException;
|
||||||
import org.xmlpull.v1.XmlPullParserException;
|
import org.xmlpull.v1.XmlPullParserException;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.webkit.WebView;
|
||||||
|
import es.ugr.swad.swadroid.R;
|
||||||
import es.ugr.swad.swadroid.modules.Module;
|
import es.ugr.swad.swadroid.modules.Module;
|
||||||
|
|
||||||
|
|
||||||
public class Introduction extends Module {
|
public class Introduction extends Module {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
|
||||||
|
WebView webview;
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.webview_information_screen_layout);
|
||||||
|
webview = (WebView) this.findViewById(R.id.contentWebView);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void requestService() throws NoSuchAlgorithmException,
|
protected void requestService() throws NoSuchAlgorithmException,
|
||||||
IOException, XmlPullParserException {
|
IOException, XmlPullParserException {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user