forked from navit-gps/navit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring:android: Refactoreing to use androidx and targetapi 30 to…
… be able to upload to google again. See navit-gps#1173 and navit-gps#1171
- Loading branch information
Showing
18 changed files
with
122 additions
and
208 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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<resources> | ||
<style name="NavitTheme" parent="android:Theme.DeviceDefault.NoActionBar"> | ||
<!-- API 19 theme customizations can go here. --> | ||
<style name="NavitTheme" parent="@style/Theme.AppCompat.Light"> | ||
<item name="windowActionBar">false</item> | ||
<item name="windowNoTitle">true</item> | ||
</style> | ||
</resources> |
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,6 @@ | ||
<resources> | ||
<style name="NavitTheme" parent="android:Theme.DeviceDefault.NoActionBar"> | ||
<!-- API 21 theme customizations can go here. --> | ||
<style name="NavitTheme" parent="@style/Theme.AppCompat.Light"> | ||
<item name="windowActionBar">false</item> | ||
<item name="windowNoTitle">true</item> | ||
</style> | ||
</resources> |
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,4 @@ | ||
package org.navitproject.navit; | ||
|
||
public class AppIntro { | ||
} |
43 changes: 43 additions & 0 deletions
43
navit/android/src/org/navitproject/navit/AppIntroFragment.java
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,43 @@ | ||
package org.navitproject.navit; | ||
|
||
import android.view.LayoutInflater; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
|
||
import androidx.annotation.Nullable; | ||
import androidx.leanback.app.OnboardingSupportFragment; | ||
|
||
public class AppIntroFragment extends OnboardingSupportFragment { | ||
@Override | ||
protected int getPageCount() { | ||
return 0; | ||
} | ||
|
||
@Override | ||
protected CharSequence getPageTitle(int pageIndex) { | ||
return "Test1"; | ||
} | ||
|
||
@Override | ||
protected CharSequence getPageDescription(int pageIndex) { | ||
return "bla blub"; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
protected View onCreateBackgroundView(LayoutInflater inflater, ViewGroup container) { | ||
return null; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
protected View onCreateContentView(LayoutInflater inflater, ViewGroup container) { | ||
return null; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
protected View onCreateForegroundView(LayoutInflater inflater, ViewGroup container) { | ||
return null; | ||
} | ||
} |
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.