This repository was archived by the owner on Apr 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +18
-3
lines changed Expand file tree Collapse file tree 6 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
package de .pscom .pietsmiet ;
2
2
3
3
import android .content .Intent ;
4
+ import android .net .Uri ;
4
5
import android .os .Bundle ;
5
6
import android .support .annotation .NonNull ;
6
7
import android .support .design .widget .FloatingActionButton ;
34
35
public class MainActivity extends BaseActivity implements NavigationView .OnNavigationItemSelectedListener {
35
36
36
37
public final int NUM_POST_TO_LOAD_ON_START = 15 ;
38
+ final String url_feedback = "https://goo.gl/forms/3q4dEfOlFOTHKt2i2" ;
39
+
37
40
private CardViewAdapter adapter ;
38
41
private LinearLayoutManager layoutManager ;
39
42
private DrawerLayout mDrawer ;
@@ -240,6 +243,11 @@ public boolean onNavigationItemSelected(@NonNull MenuItem item) {
240
243
} else aSwitch .setChecked (false );
241
244
}
242
245
246
+ break ;
247
+ case R .id .nav_feedback :
248
+ Intent i_Browser = new Intent (Intent .ACTION_VIEW );
249
+ i_Browser .setData (Uri .parse (url_feedback ));
250
+ startActivity (i_Browser );
243
251
break ;
244
252
case R .id .nav_help :
245
253
startActivity (new Intent (MainActivity .this , About .class ));
Original file line number Diff line number Diff line change @@ -325,6 +325,5 @@ public void clearPosts() {
325
325
TwitterPresenter .lastTweetId = 0 ;
326
326
TwitterPresenter .firstTweetId = 0 ;
327
327
updateCurrentPosts ();
328
-
329
328
}
330
329
}
Original file line number Diff line number Diff line change 16
16
android : layout_height =" wrap_content"
17
17
android : layout_marginTop =" ?attr/actionBarSize"
18
18
android : autoLink =" web"
19
+ android : theme =" @style/Theme.SwitchTheme"
19
20
android : paddingStart =" 10dp"
20
21
android : paddingTop =" 20dp"
21
22
android : paddingBottom =" 10dp"
Original file line number Diff line number Diff line change 49
49
android : layout_alignParentStart =" true"
50
50
android : layout_alignParentTop =" true"
51
51
android : layout_toStartOf =" @id/ivThumbnail"
52
+ android : paddingRight =" 2dp"
52
53
android : text =" Jay auf Twitter"
53
- android : textAppearance =" ?android:attr/textAppearanceLarge" />
54
+ android : textAppearance =" ?android:attr/textAppearanceLarge" />
54
55
55
56
56
57
<TextView
Original file line number Diff line number Diff line change 31
31
32
32
<item android : title =" @string/drawer_sonstiges" >
33
33
<menu >
34
+ <item
35
+ android : id =" @+id/nav_feedback"
36
+ android : icon =" @drawable/ic_help_black_24dp"
37
+ android : title =" @string/drawer_Feedback" />
34
38
<item
35
39
android : id =" @+id/nav_help"
36
40
android : icon =" @drawable/ic_help_black_24dp"
40
44
android : checkable =" false"
41
45
android : icon =" @drawable/ic_settings_black_24dp"
42
46
android : title =" @string/drawer_einstellungen" />
47
+
43
48
</menu >
44
49
</item >
45
50
</menu >
Original file line number Diff line number Diff line change 7
7
<string name =" drawer_youtube" >YouTube</string >
8
8
9
9
<string name =" about_text" >Developed by l3d00m and saibotk (tkindanight)
10
- \n\nFehler melden : \n https://github.com/l3d00m/pietsmiet_android/issues
10
+ \n\nSource Code : \n https://github.com/l3d00m/pietsmiet_android/
11
11
\n \nCreated with < 3</string >
12
12
13
13
<string name =" time_just_now" >Gerade eben</string >
27
27
<string name =" settings_clear_cache" >Clear Cache</string >
28
28
29
29
<string name =" other_coming_soon" >Coming soon</string >
30
+ <string name =" drawer_Feedback" >Feedback</string >
30
31
</resources >
You can’t perform that action at this time.
0 commit comments