Commit graph

34 commits

Author SHA1 Message Date
Parneet Singh
9a876fa5e2
make dialog modal (#6015)
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-12-11 15:08:39 +09:00
Ankush Bose
10b025c237
4664: Moved WelcomeActivity to ViewBinding (#5063)
* 4664: Moved WelcomeActivity to ViewBinding

* 4664: Removed non-null test on member variables
2022-10-29 17:50:10 +09:00
RISHAV GUPTA
824a82ad2a
Fixes : #4855 Copyright warning for beta flavor (#4873)
* xml work done

* testing

* copyright popup added local

* minor changes

* minor changes 2

* picture removed
2022-03-07 18:16:14 +09:00
318anushka
577fb02c78
exit app on back pressed in tutorial (#3597)
* exit app on back pressed in tutorial

* exit app from ongoing tutorial

* exit app on back press in tutorial
2020-04-06 15:15:51 +01:00
Manuel Alcaraz
f7cca31c53 Optimize imports (#3272) 2019-12-06 17:51:36 +09:00
Adam Jones
5d299b1511 Simplify welcome layouts (#2741)
* Simplify welcome layouts

* Add landscape layouts

* Reformat welcome layouts

* Rename string resources
2019-04-16 12:35:42 +03:00
Vivek Maskara
7cb87f3cab Consolidate shared prefs to a single store (#2613)
* Consolidate shared prefs to a single store
* Fix achievements activity
* Fix store usage
2019-03-16 13:56:56 +00:00
Vivek Maskara
57e685cf6c Fix #2593: Migrate to androidX (#2594)
* Update dependencies and migrate to androidX
* Make gradle properties tidy
2019-03-16 11:22:37 +00:00
Vivek Maskara
d4fa9cfa45 Use wrapper for interacting with shared preferences (#2288)
* Use wrapper for accessing shared preferences across the app

* Use Json kv store for storing place object

* Fix tests

* Fix test failure

* Fix UI tests
2019-01-14 00:13:21 +05:30
Ajinkya Korde
b05b302e65 Fix #2215 Added BetaCheckerUtil class and made necessary changes (#2274)
* Fix #2215 Added BetaCheckerUtil class and made necessary changes

* Fix #2215 Fixed formatting error in LogSender class

* Fix #2215 Renamed BetaCheckerUtil to ConfigUtils

* Fix #2215 Fixed formatting in CommonsApplicationModule
2019-01-08 01:01:00 +05:30
Mojtaba Rahimy
f79456ec8e "Skip Tutorial" button moved to parent view so that it does not animate by swipes. (#1945)
* Update WelcomeActivity.java

Now it starts welcome screen after not finishing the pager. Moved "Skip Tutorial" button here so it does not animate by swipe.

* Update activity_welcome.xml

Putting  "Skip Tutorial" button here so that it does not animate by swipes.

* Update LoginActivity.java

Removing the set of "first run " flag from here. we set it after the buttons press or on WelcomeActivity's finish()

* Update welcome_do_upload.xml

removing "skip tut" button from here.

* Update welcome_dont_upload.xml

Removing  "Skip Tutorial" button from here so that it does not animate by swipes.

* Update welcome_image_details.xml

Removing  "Skip Tutorial" button from here so that it does not animate by swipes.

* Update welcome_wikipedia.xml

Removing  "Skip Tutorial" button from here so that it does not animate by swipes.

* Update WelcomePagerAdapter.java

the "welcomyesButton" is removed from the child views in pager, so it is optional now.

* Add JavaDoc to WelcomeActivity.onBackPressed()

* Fix #2103: Remove welcomeYesButton from landscape layout

* Refactor WelcomePagerAdapter
2018-12-17 13:20:13 +02:00
Paul Oranje
7b7d17a33b Fixes #171 Fix Lint errors/warnings: global, coding style: add missing spaces (#1955)
* Inserted missing spaces between `if` and `(` to improve code style, in line with GSG 4.6.2
2018-11-04 14:37:28 +00:00
Mansi Agarwal
430bf90310 Added CDATA tag (#1836)
* Fix issue#1772

Add the CDATA tag to welcome_help_button_text string. Set the text of the corresponding textview using Html.fromHtml() function.

* Fix issue#1772

Add the CDATA tag to nominated_see_more string. Set the text of the corresponding textview using Html.fromHtml() function.
2018-08-31 11:44:36 +03:00
Vivek Maskara
386bd0a106
Merge gamification branch with master (#1752)
* Quiz  (#1629)

*  Layout inflated

*  Layout for mcq added

*  Inflated Basic Layout

*  Implemented basic flow

*  Added the basic implementation pf score

*  Added the result layout

*  Added the result layout

*  Added functionality to set result

*  Changed the launcher intent to Quiz Activity for testing purpose

*  Explanations of answers added

*  Improved the layout of quiz result a bit

*  Fixed some minor issues

*  Fixed build issues

* Api Added and basic structure for calling implemented

* Added intents

*  Added the title

*  Fixed image error and improved quality of pr

*  Made separate class for checking quiz

*  Added counter

* Implemented back and next for quiz result

*  Added back functionality to quiz

*  Added progressBar

*  Fixed bugs

*  Improved code quality

*  Imporved code Quality

*  Updated strings

*  Added share screenshot function

*  Added checks and improved UI

*  Removed unused string

*  Removed unused string

* Adding checks and improving code quality

* Changed string

* Improved code quality

* Update strings.xml

* Update MediaWikiApi.java

* Fix build
2018-07-28 01:09:23 +05:30
Prajeen Govardhanam
a4e8b9a26a
Update WelcomeActivity.java 2017-12-22 12:18:17 +05:30
Prajeen Govardhanam
d4f35f2c74
Update WelcomeActivity.java 2017-12-22 12:05:11 +05:30
prajgov
7e6374f11a added JavaDoc comments 2017-12-19 20:54:28 +05:30
Paul Hawke
4796557fb7 Made a pass through the code to introduce lambdas / method references in the places the Android Studio suggested. 2017-07-22 18:04:40 -05:00
Paul Hawke
5396fc6ed0 Optimized imports before starting 2017-07-04 14:23:13 -05:00
maskara
bcca6b15e5 Ability to launch welcome activity again 2017-05-29 01:17:07 +05:30
Dmitry Brant
040789ca2e Use callback pattern in Welcome activity/adapter. 2017-05-26 17:06:03 -04:00
Dmitry Brant
de1a3144cc Don't pass Activity into WelcomePagerAdapter. 2017-05-26 16:38:34 -04:00
Dinu Kumarasiri
83957bae06 [Lint] Remove class variables to local 2017-05-20 11:53:46 +02:00
Dmitry Brant
bb49fb9801 Clean up image loading code, and switch to using Fresco. 2017-05-19 15:08:29 +02:00
Vivek Maskara
0713ed9e12 Refactored welcome activity to decouple the view pager (#481) 2017-04-02 17:38:14 +01:00
veyndan
7d4dc12f53 Rename BaseAppCompatActivity to BaseActivity 2017-03-20 21:14:56 +00:00
veyndan
8cc51c4dd9 Extend from AppCompatActivity instead of Activity 2017-03-20 21:14:22 +00:00
Neslihan
7e256175dc Move theme checkbox to settings activity 2017-03-18 01:49:19 +03:00
Neslihan
5147769405 Add BaseActivity and BaseAppcompatActivity 2017-03-15 18:20:59 +03:00
veyndan
c1bcd921e3 Add missing @Override annotations 2017-02-26 02:38:05 +00:00
misaochan
a44ec0d956 Add Page 4 to WelcomeActivity 2016-11-29 20:56:57 +13:00
misaochan
4253957b74 Add extra page to PagerAdapter 2016-11-29 20:46:48 +13:00
misaochan
8d3046868f Rename 2nd page of tutorial 2016-11-29 20:02:13 +13:00
Yusuke Matsubara
b4231bbfdc Merge "commons" into the project root directory 2016-07-02 16:48:57 +09:00
Renamed from commons/app/src/main/java/fr/free/nrw/commons/WelcomeActivity.java (Browse further)