Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
disroot
disapp
Commits
c1183ffb
Commit
c1183ffb
authored
Jan 17, 2020
by
Massimiliano
Browse files
All buttons updated and hideble
parent
b359a079
Changes
28
Expand all
Hide whitespace changes
Inline
Side-by-side
.idea/assetWizardSettings.xml
View file @
c1183ffb
...
...
@@ -14,8 +14,8 @@
<option
name=
"values"
>
<map>
<entry
key=
"assetSourceType"
value=
"FILE"
/>
<entry
key=
"outputName"
value=
"ic_
poll
"
/>
<entry
key=
"sourceFile"
value=
"$PROJECT_DIR$/../DisIcons/v2/ic_
poll
.svg"
/>
<entry
key=
"outputName"
value=
"ic_
about
"
/>
<entry
key=
"sourceFile"
value=
"$PROJECT_DIR$/../DisIcons/v2/ic_
about
.svg"
/>
</map>
</option>
</PersistentState>
...
...
.idea/caches/build_file_checksums.ser
View file @
c1183ffb
No preview for this file type
app/build.gradle
View file @
c1183ffb
...
...
@@ -4,7 +4,7 @@ android {
compileSdkVersion
28
defaultConfig
{
applicationId
"org.disroot.disrootapp"
minSdkVersion
1
5
minSdkVersion
1
6
targetSdkVersion
28
versionCode
23
versionName
"1.9.0"
...
...
app/src/main/java/org/disroot/disrootapp/ui/MainActivity.java
View file @
c1183ffb
This diff is collapsed.
Click to expand it.
app/src/main/java/org/disroot/disrootapp/ui/SettingsActivity.java
View file @
c1183ffb
...
...
@@ -62,6 +62,13 @@ public class SettingsActivity extends AppCompatActivity {
BtnPreference
=
getSharedPreferences
(
"UploadBtn"
,
Context
.
MODE_PRIVATE
);
//upload
BtnPreference
=
getSharedPreferences
(
"SearxBtn"
,
Context
.
MODE_PRIVATE
);
//search
BtnPreference
=
getSharedPreferences
(
"PollsBtn"
,
Context
.
MODE_PRIVATE
);
//polls
BtnPreference
=
getSharedPreferences
(
"BoardBtn"
,
Context
.
MODE_PRIVATE
);
//Board
BtnPreference
=
getSharedPreferences
(
"CallsBtn"
,
Context
.
MODE_PRIVATE
);
//calls
BtnPreference
=
getSharedPreferences
(
"NotesBtn"
,
Context
.
MODE_PRIVATE
);
//notes
BtnPreference
=
getSharedPreferences
(
"GitBtn"
,
Context
.
MODE_PRIVATE
);
//git
BtnPreference
=
getSharedPreferences
(
"UserBtn"
,
Context
.
MODE_PRIVATE
);
//user
BtnPreference
=
getSharedPreferences
(
"HowToBtn"
,
Context
.
MODE_PRIVATE
);
//howTo
BtnPreference
=
getSharedPreferences
(
"AboutBtn"
,
Context
.
MODE_PRIVATE
);
//about
//checkboxlist
checkPrefBox
();
...
...
@@ -80,7 +87,14 @@ public class SettingsActivity extends AppCompatActivity {
final
CheckBox
checkBinBtn
=
iconSettings
.
findViewById
(
R
.
id
.
binBtnPreference
);
//bin
final
CheckBox
checkUploadBtn
=
iconSettings
.
findViewById
(
R
.
id
.
uploadBtnPreference
);
//upload
final
CheckBox
checkSearxBtn
=
iconSettings
.
findViewById
(
R
.
id
.
searxBtnPreference
);
//search
final
CheckBox
checkpollsBtn
=
iconSettings
.
findViewById
(
R
.
id
.
pollsBtnPreference
);
//polls
final
CheckBox
checkPollsBtn
=
iconSettings
.
findViewById
(
R
.
id
.
pollsBtnPreference
);
//polls
final
CheckBox
checkBoardBtn
=
iconSettings
.
findViewById
(
R
.
id
.
boardBtnPreference
);
//board
final
CheckBox
checkCallsBtn
=
iconSettings
.
findViewById
(
R
.
id
.
callsBtnPreference
);
//calls
final
CheckBox
checkNotesBtn
=
iconSettings
.
findViewById
(
R
.
id
.
notesBtnPreference
);
//notes
final
CheckBox
checkGitBtn
=
iconSettings
.
findViewById
(
R
.
id
.
gitBtnPreference
);
//git
final
CheckBox
checkUserBtn
=
iconSettings
.
findViewById
(
R
.
id
.
userBtnPreference
);
//user
final
CheckBox
checkHowToBtn
=
iconSettings
.
findViewById
(
R
.
id
.
howToBtnPreference
);
//howTo
final
CheckBox
checkAboutBtn
=
iconSettings
.
findViewById
(
R
.
id
.
aboutBtnPreference
);
//about
//Set checked if visibility is true
if
(
BtnPreference
.
getBoolean
(
"MailBtn"
,
true
))
checkMailBtn
.
setChecked
(
true
);
//mail
...
...
@@ -92,7 +106,14 @@ public class SettingsActivity extends AppCompatActivity {
if
(
BtnPreference
.
getBoolean
(
"BinBtn"
,
true
))
checkBinBtn
.
setChecked
(
true
);
//bin
if
(
BtnPreference
.
getBoolean
(
"UploadBtn"
,
true
))
checkUploadBtn
.
setChecked
(
true
);
//upload
if
(
BtnPreference
.
getBoolean
(
"SearxBtn"
,
true
))
checkSearxBtn
.
setChecked
(
true
);
//search
if
(
BtnPreference
.
getBoolean
(
"pollsBtn"
,
true
))
checkSearxBtn
.
setChecked
(
true
);
//polls
if
(
BtnPreference
.
getBoolean
(
"PollsBtn"
,
true
))
checkPollsBtn
.
setChecked
(
true
);
//polls
if
(
BtnPreference
.
getBoolean
(
"BoardBtn"
,
true
))
checkBoardBtn
.
setChecked
(
true
);
//board
if
(
BtnPreference
.
getBoolean
(
"CallsBtn"
,
true
))
checkCallsBtn
.
setChecked
(
true
);
//calls
if
(
BtnPreference
.
getBoolean
(
"NotesBtn"
,
true
))
checkNotesBtn
.
setChecked
(
true
);
//notes
if
(
BtnPreference
.
getBoolean
(
"GitBtn"
,
true
))
checkGitBtn
.
setChecked
(
true
);
//git
if
(
BtnPreference
.
getBoolean
(
"UserBtn"
,
true
))
checkUserBtn
.
setChecked
(
true
);
//user
if
(
BtnPreference
.
getBoolean
(
"HowToBtn"
,
true
))
checkHowToBtn
.
setChecked
(
true
);
//howTo
if
(
BtnPreference
.
getBoolean
(
"AboutBtn"
,
true
))
checkAboutBtn
.
setChecked
(
true
);
//about
//Mail
checkMailBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
...
...
@@ -203,17 +224,100 @@ public class SettingsActivity extends AppCompatActivity {
}
);
//polls
check
p
ollsBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
check
P
ollsBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
@Override
public
void
onCheckedChanged
(
CompoundButton
view
,
boolean
isChecked
)
{
if
(
check
p
ollsBtn
.
isChecked
())
{
if
(
check
P
ollsBtn
.
isChecked
())
{
BtnPreference
.
edit
().
putBoolean
(
"PollsBtn"
,
true
).
apply
();
}
else
{
BtnPreference
.
edit
().
putBoolean
(
"
p
ollsBtn"
,
false
).
apply
();
BtnPreference
.
edit
().
putBoolean
(
"
P
ollsBtn"
,
false
).
apply
();
}
}
}
);
//board
checkBoardBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
@Override
public
void
onCheckedChanged
(
CompoundButton
view
,
boolean
isChecked
)
{
if
(
checkBoardBtn
.
isChecked
())
{
BtnPreference
.
edit
().
putBoolean
(
"BoardBtn"
,
true
).
apply
();
}
else
{
BtnPreference
.
edit
().
putBoolean
(
"BoardBtn"
,
false
).
apply
();
}
}
}
);
//board
checkCallsBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
@Override
public
void
onCheckedChanged
(
CompoundButton
view
,
boolean
isChecked
)
{
if
(
checkCallsBtn
.
isChecked
())
{
BtnPreference
.
edit
().
putBoolean
(
"CallsBtn"
,
true
).
apply
();
}
else
{
BtnPreference
.
edit
().
putBoolean
(
"CallsBtn"
,
false
).
apply
();
}
}
}
);
//notes
checkNotesBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
@Override
public
void
onCheckedChanged
(
CompoundButton
view
,
boolean
isChecked
)
{
if
(
checkNotesBtn
.
isChecked
())
{
BtnPreference
.
edit
().
putBoolean
(
"NotesBtn"
,
true
).
apply
();
}
else
{
BtnPreference
.
edit
().
putBoolean
(
"NotesBtn"
,
false
).
apply
();
}
}
}
);
//git
checkGitBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
@Override
public
void
onCheckedChanged
(
CompoundButton
view
,
boolean
isChecked
)
{
if
(
checkGitBtn
.
isChecked
())
{
BtnPreference
.
edit
().
putBoolean
(
"GitBtn"
,
true
).
apply
();
}
else
{
BtnPreference
.
edit
().
putBoolean
(
"GitBtn"
,
false
).
apply
();
}
}
}
);
//user
checkUserBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
@Override
public
void
onCheckedChanged
(
CompoundButton
view
,
boolean
isChecked
)
{
if
(
checkUserBtn
.
isChecked
())
{
BtnPreference
.
edit
().
putBoolean
(
"UserBtn"
,
true
).
apply
();
}
else
{
BtnPreference
.
edit
().
putBoolean
(
"UserBtn"
,
false
).
apply
();
}
}
}
);
//howTo
checkHowToBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
@Override
public
void
onCheckedChanged
(
CompoundButton
view
,
boolean
isChecked
)
{
if
(
checkHowToBtn
.
isChecked
())
{
BtnPreference
.
edit
().
putBoolean
(
"HowToBtn"
,
true
).
apply
();
}
else
{
BtnPreference
.
edit
().
putBoolean
(
"HowToBtn"
,
false
).
apply
();
}
}
}
);
//about
checkAboutBtn
.
setOnCheckedChangeListener
(
new
CompoundButton
.
OnCheckedChangeListener
()
{
@Override
public
void
onCheckedChanged
(
CompoundButton
view
,
boolean
isChecked
)
{
if
(
checkAboutBtn
.
isChecked
())
{
BtnPreference
.
edit
().
putBoolean
(
"AboutBtn"
,
true
).
apply
();
}
else
{
BtnPreference
.
edit
().
putBoolean
(
"AboutBtn"
,
false
).
apply
();
}
}
}
);
}
@Override
//make sure changes are applyed when going back
...
...
app/src/main/java/org/disroot/disrootapp/utils/Constants.java
View file @
c1183ffb
package
org.disroot.disrootapp.utils
;
import
org.disroot.disrootapp.R
;
import
org.disroot.disrootapp.ui.MainActivity
;
/**
* Created by jackson on 02/11/15.
*/
...
...
@@ -47,4 +50,24 @@ public class Constants {
public
static
final
String
URL_DisApp_POLLHELP
=
"https://howto.disroot.org/en/tutorials/office/polls"
;
public
static
final
String
URL_DisApp_BOARDHELP
=
"https://howto.disroot.org/en/tutorials/project_board"
;
public
static
final
String
URL_DisApp_NOTESHELP
=
"https://howto.disroot.org/en/tutorials/cloud/clients/mobile/android/using-notes"
;
public
static
final
String
URL_DisApp_CALLSHELP
=
"https://disroot.org/en/services/calls"
;
public
static
final
String
URL_DisApp_GITHELP
=
"https://howto.disroot.org/en/contribute/git"
;
//need url
public
static
final
String
k9
=
"com.fsck.k9"
;
public
static
final
String
nc
=
"com.nextcloud.client"
;
public
static
final
String
Diaspora
=
"com.github.dfa.diaspora_android"
;
public
static
final
String
Conversations
=
"eu.siacs.conversations"
;
public
static
final
String
PixArt
=
"de.pixart.messenger"
;
public
static
final
String
Padland
=
"com.mikifus.padland"
;
public
static
final
String
NotesApp
=
"it.niedermann.owncloud.notes"
;
public
static
final
String
CallsApp
=
"org.jitsi.meet"
;
public
static
final
String
GitApp
=
"org.mian.gitnex"
;
public
static
final
int
[]
buttonIDs
=
new
int
[]
{
R
.
id
.
MailBtn
,
R
.
id
.
CloudBtn
,
R
.
id
.
ForumBtn
,
R
.
id
.
ChatBtn
,
R
.
id
.
PadBtn
,
R
.
id
.
CalcBtn
,
R
.
id
.
BinBtn
,
R
.
id
.
UploadBtn
,
R
.
id
.
SearxBtn
,
R
.
id
.
PollsBtn
,
R
.
id
.
BoardBtn
,
R
.
id
.
CallsBtn
,
R
.
id
.
NotesBtn
,
R
.
id
.
GitBtn
,
R
.
id
.
UserBtn
,
R
.
id
.
StateBtn
,
R
.
id
.
HowToBtn
,
R
.
id
.
AboutBtn
};
public
static
final
int
REQUEST_ID_MULTIPLE_PERMISSIONS
=
1
;
//file upload
public
static
final
int
INPUT_FILE_REQUEST_CODE
=
1
;
//file upload
public
static
final
int
FILECHOOSER_RESULTCODE
=
1
;
//file upload
public
static
final
String
TAG
=
MainActivity
.
class
.
getSimpleName
();
}
app/src/main/res/drawable/ic_about.xml
View file @
c1183ffb
<vector
android:height=
"24dp"
android:viewportHeight=
"48"
android:viewportWidth=
"48"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<path
android:fillColor=
"#808080"
android:pathData=
"m34.9091,41.4545v4.3636C34.9091,47.0114 33.9205,48 32.7273,48H15.2727c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818v-4.3636c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h2.1818V26.1818h-2.1818c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818v-4.3636c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h13.0909c1.1932,0 2.1818,0.9886 2.1818,2.1818v19.6364h2.1818c1.1932,0 2.1818,0.9886 2.1818,2.1818zM30.5455,2.1818v6.5455c0,1.1932 -0.9886,2.1818 -2.1818,2.1818h-8.7273c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818V2.1818c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h8.7273c1.1932,0 2.1818,0.9886 2.1818,2.1818z"
android:strokeWidth=
"0.03409091"
/>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"48dp"
android:height=
"48dp"
android:viewportWidth=
"12.7"
android:viewportHeight=
"12.7"
>
<path
android:pathData=
"m7.9134,8.8515v0.6254c0,0.171 -0.1417,0.3127 -0.3127,0.3127L5.0992,9.7896c-0.171,0 -0.3127,-0.1417 -0.3127,-0.3127v-0.6254c0,-0.171 0.1417,-0.3127 0.3127,-0.3127h0.3127v-1.8761L5.0992,6.6627c-0.171,0 -0.3127,-0.1417 -0.3127,-0.3127v-0.6254c0,-0.171 0.1417,-0.3127 0.3127,-0.3127L6.9754,5.412c0.171,0 0.3127,0.1417 0.3127,0.3127v2.8142h0.3127c0.171,0 0.3127,0.1417 0.3127,0.3127zM7.2881,3.2231v0.9381c0,0.171 -0.1417,0.3127 -0.3127,0.3127L5.7246,4.4738c-0.171,0 -0.3127,-0.1417 -0.3127,-0.3127v-0.9381c0,-0.171 0.1417,-0.3127 0.3127,-0.3127L6.9754,2.9104c0.171,0 0.3127,0.1417 0.3127,0.3127z"
android:strokeWidth=
"0.00488577"
android:fillColor=
"#808080"
android:fillAlpha=
"1"
/>
</vector>
app/src/main/res/drawable/ic_about_menu.xml
0 → 100644
View file @
c1183ffb
<vector
android:height=
"24dp"
android:viewportHeight=
"48"
android:viewportWidth=
"48"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<path
android:fillColor=
"#808080"
android:pathData=
"m34.9091,41.4545v4.3636C34.9091,47.0114 33.9205,48 32.7273,48H15.2727c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818v-4.3636c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h2.1818V26.1818h-2.1818c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818v-4.3636c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h13.0909c1.1932,0 2.1818,0.9886 2.1818,2.1818v19.6364h2.1818c1.1932,0 2.1818,0.9886 2.1818,2.1818zM30.5455,2.1818v6.5455c0,1.1932 -0.9886,2.1818 -2.1818,2.1818h-8.7273c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818V2.1818c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h8.7273c1.1932,0 2.1818,0.9886 2.1818,2.1818z"
android:strokeWidth=
"0.03409091"
/>
</vector>
app/src/main/res/drawable/ic_board.xml
View file @
c1183ffb
<vector
android:height=
"24dp"
android:viewportHeight=
"48"
android:viewportWidth=
"48"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<path
android:fillAlpha=
"1"
android:fillColor=
"#ffffff"
android:pathData=
"m13.7143,35.9857v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714L2.5714,43.7C1.1518,43.7 0,42.5482 0,41.1286v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM13.7143,22.2714v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714L2.5714,29.9857C1.1518,29.9857 0,28.8339 0,27.4143L0,22.2714C0,20.8518 1.1518,19.7 2.5714,19.7h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM30.8571,35.9857v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM13.7143,8.5571L13.7143,13.7c0,1.4196 -1.1518,2.5714 -2.5714,2.5714L2.5714,16.2714C1.1518,16.2714 0,15.1196 0,13.7L0,8.5571C0,7.1375 1.1518,5.9857 2.5714,5.9857h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM30.8571,22.2714v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM48,35.9857v5.1429C48,42.5482 46.8482,43.7 45.4286,43.7h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714C46.8482,33.4143 48,34.5661 48,35.9857ZM30.8571,8.5571L30.8571,13.7c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714L17.1429,8.5571c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM48,22.2714v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714C46.8482,19.7 48,20.8518 48,22.2714ZM48,8.5571L48,13.7c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714L34.2857,8.5571c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714C46.8482,5.9857 48,7.1375 48,8.5571Z"
android:strokeWidth=
"0.02678571"
/>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"48dp"
android:height=
"48dp"
android:viewportWidth=
"48"
android:viewportHeight=
"48"
>
<path
android:pathData=
"M24.1406,7.4727L19.6426,13.457L22.6973,13.9766L23.6758,20.8555L22.416,22.1094L17.8086,15.9805L19.5625,13.5078L12.1602,12.459L13.2188,19.9043L7.1895,24.4395L13.1875,28.918L13.6953,25.957L20.6641,24.9648L21.9063,26.2109L15.7637,30.8398L13.2109,29.0469L12.1602,36.4238L19.6289,35.3613L24.1563,41.3828L28.6836,35.3613L36.1367,36.418L35.0762,28.9316L41.0898,24.4102L35.1738,19.9609L34.6992,22.9668L27.707,23.9609L26.4648,22.7207L32.6543,18.0664L35.1211,19.6875L36.1484,12.4414L28.9316,13.4688L30.5527,15.9805L25.9063,22.1602L24.6992,20.9551L25.6914,13.9648L28.6055,13.4141L24.1406,7.4727zM15.7051,18.0957L21.8379,22.6836L20.5508,23.9629L13.6953,22.9902L13.2324,19.8887L15.7051,18.0957zM27.6484,24.9512L34.6875,25.9453L34.7852,29.1055L32.6543,30.8105L26.4512,26.1484L27.6484,24.9512zM25.8887,26.7109L30.5703,32.9355L29.1777,35.1016L25.6797,34.959L24.6777,27.9219L25.8887,26.7109zM22.4609,26.7695L23.6875,28.0039L22.6973,34.959L19.627,35.3555L17.8262,32.9355L22.4609,26.7695z"
android:strokeAlpha=
"0.99215686"
android:strokeWidth=
"0.75590551"
android:fillColor=
"#ffffff"
android:strokeColor=
"#00000000"
android:fillAlpha=
"1"
/>
</vector>
app/src/main/res/drawable/ic_calls.xml
0 → 100644
View file @
c1183ffb
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"48dp"
android:height=
"48dp"
android:viewportWidth=
"48"
android:viewportHeight=
"48"
>
<path
android:pathData=
"m11.8416,43.2218c-0.4921,-0.9201 -0.8069,-1.732 -1.0729,-2.7675 -0.2286,-0.8898 -0.4693,-2.3342 -0.4693,-2.8161 0,-0.1512 -0.0297,-0.2566 -0.0661,-0.2341 -0.0363,0.0225 -0.0891,-0.4414 -0.1172,-1.0308 -0.0524,-1.0984 0.0072,-2.5073 0.1062,-2.5073 0.0305,0 0.0765,-0.1778 0.1022,-0.3952 0.0257,-0.2174 0.1392,-0.6995 0.2521,-1.0714 0.4746,-1.5631 1.4194,-2.8821 2.4158,-3.3727 0.4552,-0.2241 0.5504,-0.2431 1.0425,-0.2079 0.7113,0.0509 1.3816,0.3703 2.7849,1.3268 1.1909,0.8118 1.8917,1.2269 2.071,1.2269 0.0649,0 0.1692,-0.0789 0.2318,-0.1753 0.1554,-0.2392 0.3892,-0.9643 0.358,-1.1101 -0.014,-0.0653 -0.269,-0.3024 -0.5667,-0.527 -1.1619,-0.8765 -2.0885,-2.5457 -2.5062,-4.5151 -0.1876,-0.8847 -0.1882,-2.4172 -0.0011,-3.101 0.5042,-1.843 1.834,-3.1119 4.0362,-3.8511 0.3205,-0.1076 1.103,-0.3007 1.7389,-0.4293 0.636,-0.1285 1.1918,-0.2691 1.2351,-0.3125 0.0531,-0.0531 0.0488,-0.2761 -0.0134,-0.6845 -0.2554,-1.6778 0.1,-4.2489 0.7239,-5.2372 0.324,-0.5132 0.7941,-0.8299 2.6024,-1.7531 2.0193,-1.0309 2.7791,-1.5664 3.2739,-2.3073 0.1746,-0.2615 0.3544,-0.6044 0.3995,-0.7619 0.1641,-0.5732 0.3108,-1.7856 0.3113,-2.5731 0.0004,-0.6212 0.0311,-0.8581 0.1342,-1.0326 0.2364,-0.4002 0.4955,-0.3863 0.788,0.042 0.1868,0.2737 1.0258,2.68 1.2241,3.511 0.3228,1.3527 -0.0715,3.0243 -0.9861,4.18 -0.1236,0.1562 -0.2247,0.3191 -0.2247,0.362 0,0.043 0.1222,0.336 0.2715,0.6511 0.417,0.8801 0.6,1.6879 0.571,2.5211l-0.0243,0.7013 0.738,0.0649c2.6111,0.2295 3.9126,1.6726 4.122,4.5704 0.1312,1.8153 -0.1453,4.4555 -0.6903,6.5915 -0.6952,2.7247 -1.7004,4.6306 -3.2668,6.194 -0.9775,0.9756 -1.5502,1.3164 -1.9675,1.1709 -0.1375,-0.0479 -0.3114,-0.1427 -0.3865,-0.2107 -0.0751,-0.068 -0.1712,-0.1021 -0.2136,-0.0759 -0.0424,0.0262 -0.27,0.323 -0.5058,0.6595 -0.9366,1.3366 -2.0073,2.2518 -3.4399,2.9402 -1.7108,0.8222 -3.7252,1.1994 -6.3896,1.1967 -1.2265,-0.0013 -1.2587,-0.0135 -2.7734,-1.049 -0.596,-0.4075 -1.1308,-0.7408 -1.1885,-0.7408 -0.19,0 -1.6398,1.1289 -2.0906,1.6279 -0.7695,0.8518 -1.1997,1.9266 -1.7814,4.4501 -0.1827,0.7929 -0.3533,1.4656 -0.3791,1.4949 -0.0258,0.0293 -0.2119,-0.2553 -0.4137,-0.6325zM12.3686,41.3795c0.4263,-1.6409 0.7175,-2.3901 1.2626,-3.2498 0.3143,-0.4955 1.2464,-1.383 1.9047,-1.8136 0.3127,-0.2045 0.6438,-0.4388 0.7356,-0.5207 0.1646,-0.1467 0.1714,-0.1465 0.4675,0.0141 0.1653,0.0896 0.6336,0.3959 1.0407,0.6805 0.4071,0.2847 0.9676,0.6523 1.2455,0.8169l0.5053,0.2993 0.8973,-0.0007c2.3146,-0.0017 4.3499,-0.338 5.8343,-0.9641 0.5123,-0.2161 1.3834,-0.742 2.1471,-1.2962 0.531,-0.3854 1.5459,-1.6487 1.9552,-2.4337 0.1284,-0.2463 0.2755,-0.448 0.3269,-0.4481 0.0514,-0.0001 0.2605,0.1576 0.4647,0.3505 0.2042,0.1929 0.3948,0.3506 0.4236,0.3506 0.0288,0 0.2635,-0.1409 0.5214,-0.3132 0.6056,-0.4044 1.6565,-1.5112 2.1842,-2.3005 1.5328,-2.2924 2.4621,-5.6888 2.5631,-9.3677 0.059,-2.1495 -0.1186,-3.1883 -0.7015,-4.1029 -0.3187,-0.5001 -0.5006,-0.6758 -1.0458,-1.0102 -0.631,-0.387 -1.2211,-0.5279 -2.2824,-0.5452l-0.8961,-0.0146 0.011,-0.2703c0.006,-0.1487 0.037,-0.5369 0.0688,-0.8627 0.0799,-0.818 -0.1034,-1.6035 -0.5945,-2.5478 -0.4233,-0.8141 -0.4236,-0.8065 0.0557,-1.3697 0.3993,-0.4692 0.8568,-1.428 0.9663,-2.0251 0.1677,-0.9143 0.0747,-1.55 -0.4691,-3.2067 -0.6751,-2.0568 -0.7297,-2.0979 -0.8048,-0.6052 -0.1508,2.9949 -0.7435,3.7444 -4.4313,5.6038 -2.227,1.1228 -2.3783,1.3086 -2.7858,3.42 -0.2074,1.0746 -0.2081,2.2482 -0.002,3.2245 0.085,0.4029 0.1546,0.7395 0.1546,0.7479 0,0.0834 -0.8018,0.3119 -1.7609,0.5019 -2.1349,0.4229 -3.3445,0.9828 -4.3278,2.0032 -0.5585,0.5795 -0.7946,0.9646 -1.055,1.7207 -0.1857,0.5393 -0.208,0.7159 -0.204,1.6183 0.0039,0.8702 0.0384,1.1435 0.2447,1.9387 0.487,1.8768 1.5156,3.4834 2.5562,3.9925 0.2373,0.1161 0.4474,0.2524 0.4667,0.3029 0.0628,0.1636 -0.1879,1.1773 -0.3895,1.5752 -0.2377,0.4691 -0.5176,0.6747 -0.8263,0.6068 -0.2566,-0.0563 -1.4128,-0.7264 -2.0311,-1.177 -1.2854,-0.9369 -2.2862,-1.434 -2.887,-1.434 -0.8506,0 -1.9958,1.1256 -2.596,2.5516 -0.4912,1.1671 -0.5538,1.5965 -0.5538,3.7991 0,2.4502 0.1589,3.7015 0.6765,5.3264 0.3189,1.0012 0.513,1.433 0.6271,1.3949 0.0527,-0.0176 0.2044,-0.45 0.3371,-0.961zM11.9092,40.9763c-0.0825,-0.1352 -0.4657,-2.0056 -0.6104,-2.9795 -0.1877,-1.2628 -0.2202,-2.9262 -0.073,-3.7412 0.2492,-1.3803 0.7897,-2.5909 1.5187,-3.4018 0.4351,-0.484 0.999,-0.805 1.1974,-0.6817 0.3678,0.2285 0.5209,1.0851 0.4531,2.535l-0.0497,1.0619 0.2065,0.2454c0.1135,0.1349 0.4743,0.4607 0.8017,0.724 0.3274,0.2632 0.6245,0.5038 0.6604,0.5345 0.0358,0.0307 -0.2611,0.279 -0.6598,0.5518 -0.3987,0.2727 -1.0345,0.8073 -1.4129,1.1879 -0.5924,0.5958 -0.7407,0.8016 -1.067,1.4805 -0.2085,0.4337 -0.4919,1.183 -0.6299,1.6651 -0.138,0.4821 -0.2618,0.8766 -0.2751,0.8766 -0.0133,0 -0.0403,-0.0263 -0.0599,-0.0584zM19.65,37.0835c-0.187,-0.0686 -2.7896,-1.8239 -3.0925,-2.0858l-0.2754,-0.2381 0.8073,-0.4016c0.9489,-0.472 1.64,-0.977 2.292,-1.6746 0.5453,-0.5835 0.8197,-1.0248 1.1715,-1.8842 0.1384,-0.3381 0.2987,-0.6617 0.3562,-0.7191 0.185,-0.1845 5.0567,-1.9488 6.8605,-2.4844l0.3858,-0.1146 0.3704,0.3464c0.4778,0.4469 1.0895,0.7232 1.7983,0.8122 0.3111,0.0391 0.5996,0.1049 0.641,0.1463 0.089,0.089 -0.0356,1.2382 -0.2045,1.8852 -0.7418,2.8417 -2.5891,4.8145 -5.3832,5.7488 -0.8804,0.2944 -1.9606,0.528 -2.9385,0.6354 -0.7804,0.0857 -2.582,0.1038 -2.7888,0.028zM15.4898,33.996c-0.3989,-0.3762 -0.4314,-0.5233 -0.3127,-1.4158 0.057,-0.4286 0.1049,-1.0547 0.1065,-1.3915 0.0033,-0.7251 -0.0798,-0.7254 1.0825,0.0051 0.4562,0.2867 1.1555,0.6933 1.554,0.9034 0.3985,0.2101 0.7115,0.4223 0.6956,0.4715 -0.0448,0.138 -1.0934,0.9236 -1.7695,1.3258 -0.7421,0.4414 -0.9772,0.459 -1.3563,0.1014zM31.2112,32.3648 L30.8595,32.0325 31.0534,31.4492c0.1805,-0.5429 0.2819,-1.0969 0.4027,-2.1989 0.0269,-0.2458 0.0854,-0.4693 0.1299,-0.4968 0.0445,-0.0275 0.4166,-0.115 0.8269,-0.1945 1.7218,-0.3335 2.8596,-0.937 3.0275,-1.6058 0.1021,-0.4067 -0.0465,-1.7057 -0.3235,-2.8275 -0.1534,-0.6214 -0.5086,-1.7961 -0.7893,-2.6104 -1.0905,-3.1636 -1.0694,-3.0925 -1.0723,-3.6234 -0.0034,-0.6276 0.205,-1.2661 0.4851,-1.487 0.4518,-0.3562 1.2166,0.006 1.7795,0.8428 0.6856,1.0191 0.8962,1.9396 0.8965,3.9169 0.0003,2.3348 -0.2636,4.0943 -0.9111,6.0748 -0.5531,1.6917 -1.3598,3.1229 -2.4014,4.2606 -0.4593,0.5016 -1.3115,1.1971 -1.467,1.1971 -0.0406,0 -0.2322,-0.1495 -0.4256,-0.3323zM19.5829,28.6386c-0.6085,-0.3117 -1.3468,-1.4312 -1.7643,-2.6749 -0.5701,-1.6982 -0.578,-3.394 -0.0213,-4.5653 0.2368,-0.4982 1.0142,-1.2341 1.6583,-1.5697 0.9899,-0.5157 3.2305,-1.1431 4.5744,-1.2808l0.5225,-0.0535 0.7101,0.6685c0.7099,0.6683 1.2128,0.9887 1.5516,0.9887 0.3468,0 1.698,-0.7895 2.5534,-1.4919 1.8894,-1.5515 2.7068,-2.0928 3.3488,-2.2176l0.2483,-0.0483 -0.1178,0.3789c-0.0847,0.2725 -0.108,0.5977 -0.0829,1.1581 0.0307,0.686 0.0768,0.891 0.3858,1.7143 0.7808,2.0806 1.5977,4.7944 1.8134,6.0243 0.0973,0.5546 0.0981,0.6848 0.0056,0.9061 -0.0594,0.1421 -0.1485,0.2835 -0.198,0.3141 -0.1298,0.0802 -0.7983,-0.2736 -1.5623,-0.8269 -1.2606,-0.913 -1.9909,-1.3743 -2.8831,-1.8211 -1.5533,-0.7779 -2.5489,-1.0781 -3.9979,-1.2054 -1.6372,-0.1438 -3.2032,0.1607 -4.7683,0.9273 -0.9168,0.4491 -2.1429,1.263 -2.1429,1.4225 0,0.1043 0.3483,0.0564 1.5195,-0.2093 0.7762,-0.176 1.1271,-0.2128 2.0649,-0.2165 1.0108,-0.0039 1.2021,0.0176 1.8153,0.2046 0.7694,0.2346 1.4431,0.5546 2.0866,0.9911 0.4938,0.3349 0.973,0.8433 0.8768,0.9302 -0.094,0.085 -3.938,1.1304 -5.1684,1.4056 -0.6068,0.1357 -1.3982,0.2534 -1.8701,0.2781 -0.7418,0.0388 -0.8499,0.0265 -1.1579,-0.1313zM30.2942,28.1695c-0.7207,-0.1052 -1.0864,-0.3313 -1.9075,-1.1799 -0.9329,-0.9641 -1.4896,-1.3892 -2.3862,-1.8217 -1.0828,-0.5224 -1.5108,-0.6106 -2.961,-0.6106 -0.7496,0 -1.4279,0.041 -1.701,0.1027 -0.2498,0.0565 -0.4733,0.0836 -0.4967,0.0602 -0.1209,-0.1209 1.874,-0.8297 2.9115,-1.0346 0.9319,-0.184 2.5653,-0.181 3.4529,0.0064 1.3022,0.2748 2.5922,0.797 3.6494,1.4773 0.6023,0.3875 3.1602,2.2946 3.1927,2.3804 0.0418,0.1102 -1.6637,0.5415 -2.4651,0.6234 -0.4438,0.0454 -0.812,0.0782 -0.8182,0.073 -0.0062,-0.0052 -0.218,-0.0397 -0.4708,-0.0766zM26.0676,19.3474c-1.0123,-0.7465 -1.8215,-2.1972 -1.8355,-3.2905 -0.0073,-0.5734 0.1622,-0.8338 0.7828,-1.2025 0.4658,-0.2767 2.4184,-1.0674 2.991,-1.2111 0.2469,-0.062 0.3146,0.044 0.4495,0.7031 0.1872,0.9149 0.6383,1.4525 1.4746,1.7574 0.5366,0.1957 0.5381,0.2027 0.1861,0.8598 -0.4942,0.9226 -1.6528,2.013 -2.6462,2.4904 -0.6535,0.3141 -0.8523,0.2989 -1.4024,-0.1067zM29.9746,15.5159c-0.8531,-0.2995 -1.2381,-1.535 -0.7186,-2.3059 0.2229,-0.3307 1.5211,-1.3192 1.6617,-1.2652 0.0588,0.0226 0.2213,0.2733 0.3611,0.5572 0.2301,0.4672 0.2542,0.5829 0.2542,1.2193 0,0.6117 -0.0283,0.7607 -0.2173,1.1457 -0.1738,0.354 -0.284,0.4749 -0.5506,0.6039 -0.3883,0.188 -0.3841,0.1877 -0.7905,0.045zM24.3253,14.5563c0,-0.7236 0.4463,-2.3881 0.7492,-2.7944 0.2439,-0.3271 1.0085,-0.7807 2.7627,-1.6388 1.3476,-0.6592 1.4935,-0.7519 2.1257,-1.3503 0.3733,-0.3534 0.698,-0.6232 0.7216,-0.5996 0.0634,0.0634 -0.1634,0.8932 -0.4595,1.6816 -0.6338,1.6875 -1.7347,3.0954 -2.6856,3.4348 -0.643,0.2295 -2.1131,0.8868 -2.5906,1.1583 -0.2787,0.1585 -0.5329,0.2998 -0.5651,0.3141 -0.0321,0.0143 -0.0584,-0.0783 -0.0584,-0.2057zM30.2809,10.6278c0.6725,-1.4263 0.9405,-2.3806 1.2097,-4.3074l0.1306,-0.9351 0.2147,0.6623c0.389,1.1999 0.3335,2.2261 -0.18,3.3234 -0.3403,0.7271 -1.0165,1.5764 -1.5795,1.9837 -0.1963,0.142 -0.1831,0.095 0.2045,-0.727z"
android:strokeWidth=
"0.07792208"
android:fillColor=
"#ffffff"
android:fillAlpha=
"1"
/>
</vector>
app/src/main/res/drawable/ic_git.xml
0 → 100644
View file @
c1183ffb
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"48dp"
android:height=
"48dp"
android:viewportWidth=
"12.7"
android:viewportHeight=
"12.7"
>
<path
android:pathData=
"m3.6387,3.122c0.006,0.0123 0.163,0.3557 0.3485,0.7637 0.2859,0.6286 0.3681,0.7462 0.5394,0.7705 0.1111,0.0158 0.2622,0.0793 0.3356,0.141 0.0999,0.0841 0.2292,0.0659 0.7918,-0.1833 0.4134,-0.1831 0.9399,-0.3463 1.1699,-0.3625 0.7998,-0.0564 1.1875,0.3284 1.9526,1.938 0.3879,0.8162 0.5345,1.0492 0.6793,1.0797 0.3772,0.0796 0.7523,0.4136 0.7872,0.8178 0.0292,0.338 0.0015,0.5035 -0.2454,0.7279 -0.5675,0.8001 -1.9866,-0.1096 -1.5169,-0.9805 0.1036,-0.1921 0.0557,-0.3581 -0.3617,-1.2523 -0.5517,-1.1819 -0.8612,-1.6309 -1.2414,-1.6176 -0.1372,0.005 -0.5728,0.1474 -0.9682,0.317 -0.6282,0.261 -0.628,0.1941 -0.6506,0.4142 -0.0447,0.1302 -0.0443,0.2122 -0.1606,0.3732 -0.0518,0.0892 0.116,0.5767 0.4845,1.407 0.5003,1.1276 0.5868,1.2721 0.7688,1.2845 0.2756,0.0187 0.6426,0.34 0.7331,0.6416 0.1043,0.3478 -0.0951,0.8112 -0.4221,0.981 -0.3488,0.1811 -0.7458,0.1733 -1.0824,-0.1099 -0.2344,-0.1971 -0.2846,-0.3024 -0.2846,-0.5963 -0,-0.1963 0.0455,-0.4111 0.1011,-0.4772 0.142,-0.1689 -1.0213,-2.7487 -1.2624,-2.7996 -0.3877,-0.0275 -0.6137,-0.3919 -0.6803,-0.6419 -0.0329,-0.1236 -0.0055,-0.3607 0.0609,-0.5268 0.1031,-0.2577 0.0742,-0.4146 -0.1972,-1.0699L2.9994,3.3935C2.8473,3.0376 3.4788,2.7271 3.6387,3.122Z"
android:strokeAlpha=
"1"
android:strokeWidth=
"0.15984261"
android:fillColor=
"#fefdfd"
android:strokeColor=
"#fefdfd"
android:fillAlpha=
"1"
/>
</vector>
app/src/main/res/drawable/ic_howto.xml
View file @
c1183ffb
<vector
android:height=
"24dp"
android:viewportHeight=
"48"
android:viewportWidth=
"48"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<path
android:fillAlpha=
"1"
android:fillColor=
"#ffffff"
android:pathData=
"m47.2757,12.0962c0.721,1.0382 0.9229,2.3937 0.5191,3.7203L39.8639,41.9452C39.1429,44.3966 36.605,46.3 34.1248,46.3L7.5059,46.3c-2.9416,0 -6.0852,-2.336 -7.1522,-5.3353 -0.4614,-1.2978 -0.4614,-2.5667 -0.0577,-3.6626 0.0577,-0.5768 0.173,-1.1536 0.2019,-1.8457 0.0288,-0.4614 -0.2307,-0.8363 -0.173,-1.1824 0.1154,-0.6921 0.721,-1.1824 1.1824,-1.9611 0.8652,-1.442 1.8457,-3.778 2.163,-5.2776 0.1442,-0.548 -0.1442,-1.1824 0,-1.6727 0.1442,-0.548 0.6922,-0.9517 0.9805,-1.4708C5.4294,22.565 6.4388,19.9983 6.583,18.6428 6.6407,18.0372 6.3523,17.3739 6.5253,16.9124 6.7272,16.2491 7.3617,15.9607 7.7943,15.3839 8.4864,14.4322 9.64,11.6925 9.813,10.164 9.8707,9.6737 9.5823,9.1834 9.6688,8.6643 9.7842,8.1164 10.4763,7.5396 10.9378,6.8763 12.149,5.0882 12.3798,1.1372 16.0424,2.1754l-0.0288,0.0865c0.4903,-0.1154 0.9805,-0.2596 1.4708,-0.2596h21.9469c1.3555,0 2.5667,0.6056 3.2877,1.615 0.7498,1.0382 0.9229,2.3937 0.5191,3.7491L35.3361,33.4952c-1.3555,4.4413 -2.1053,5.4218 -5.7679,5.4218L4.5065,38.9171c-0.3749,0 -0.8363,0.0865 -1.0959,0.4326 -0.2307,0.3461 -0.2596,0.6056 -0.0288,1.2401 0.5768,1.6727 2.5667,2.0188 4.1529,2.0188L34.1537,42.6085c1.0671,0 2.3072,-0.6056 2.6244,-1.6439L45.43,12.5c0.173,-0.548 0.173,-1.1247 0.1442,-1.6439 0.6633,0.2596 1.2689,0.6633 1.7015,1.2401zM16.5903,12.1539c-0.173,0.5191 0.1154,0.9229 0.6345,0.9229h17.5345c0.4903,0 1.0382,-0.4038 1.2113,-0.9229l0.6056,-1.8457C36.7492,9.7891 36.4608,9.3853 35.9417,9.3853L18.4072,9.3853c-0.4903,0 -1.0382,0.4038 -1.2113,0.9229zM14.1967,19.5368c-0.173,0.5191 0.1154,0.9229 0.6345,0.9229h17.5345c0.4903,0 1.0382,-0.4038 1.2113,-0.9229l0.6056,-1.8457c0.173,-0.5191 -0.1154,-0.9229 -0.6345,-0.9229L16.0136,16.7682c-0.4903,0 -1.0382,0.4038 -1.2113,0.9229z"
android:strokeWidth=
"0.02883961"
/>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"48dp"
android:height=
"48dp"
android:viewportWidth=
"12.7"
android:viewportHeight=
"12.7"
>
<path
android:pathData=
"M3.746,1.3017L3.6964,1.3891C3.0807,2.4827 2.7482,3.626 2.7482,4.6493C2.7482,4.7357 2.7491,4.8092 2.7513,4.8142C2.7531,4.8182 2.7706,4.7361 2.79,4.6312C2.951,3.7618 3.3735,2.8513 3.9098,2.2185L4.0416,2.0629L3.8938,1.6821L3.746,1.3017zM5.1041,1.45C5.0864,1.4571 4.859,1.7229 4.6591,1.9699C3.6945,3.1619 3.1333,4.1721 3.0696,4.8317L3.0567,4.9697L3.1574,4.7418C3.5286,3.9041 4.2524,3.0172 5.1676,2.2789L5.378,2.1094L5.2452,1.7782C5.172,1.5961 5.1081,1.448 5.1041,1.45zM6.3851,1.802C6.3617,1.8114 6.0029,2.0731 5.8389,2.2004C4.7233,3.0662 3.8754,3.9732 3.4644,4.7403C3.4116,4.8388 3.3614,4.9388 3.3528,4.9625C3.3422,4.9916 3.3986,4.9402 3.5274,4.8038C4.366,3.9163 5.389,3.1839 6.427,2.728L6.7236,2.5978L6.5624,2.1968C6.4538,1.9266 6.3959,1.798 6.3851,1.802zM7.8357,2.5492L7.5613,2.6463C7.0454,2.8289 6.2253,3.2156 5.6519,3.5471C4.8406,4.016 4.0063,4.6615 3.6375,5.1056C3.604,5.1458 3.5932,5.167 3.6127,5.1537C4.1244,4.8055 4.3644,4.6536 4.7289,4.4483C5.7307,3.884 6.8032,3.4597 7.7401,3.2566C7.8922,3.2236 8.0338,3.1951 8.0548,3.1931L8.093,3.189L7.9644,2.8691L7.8357,2.5492zM8.5509,3.4484L8.2842,3.5C7.6412,3.624 7.0586,3.794 6.2306,4.1C5.5395,4.3554 4.3393,4.9198 3.6876,5.2958L3.5657,5.3661L4.7206,8.2522C5.3559,9.8395 5.8825,11.141 5.8911,11.144C5.8997,11.1472 5.968,11.1144 6.043,11.0712C6.5813,10.7616 7.2813,10.4241 8.0429,10.1064C9.0717,9.6772 9.8731,9.4242 10.6324,9.2894C10.755,9.2677 10.8603,9.2495 10.867,9.2475C10.8737,9.246 10.3556,7.9403 9.7152,6.3464L8.5509,3.4484zM2.8169,5.1909C2.8207,5.2406 3.0262,5.7567 3.9269,8.0011C4.7612,10.0797 5.0968,10.9027 5.1325,10.9559C5.2413,11.118 5.4019,11.2168 5.5811,11.2314L5.5816,11.2314C5.6427,11.2364 5.6948,11.2396 5.6978,11.2386C5.7009,11.2374 5.179,9.9331 4.5387,8.3401L3.3745,5.4436L3.2763,5.4405C3.1056,5.436 2.9394,5.3447 2.8262,5.194C2.8199,5.1857 2.8163,5.1838 2.8169,5.1909zM5.3692,5.5247C5.872,5.5323 6.3649,5.6306 6.8533,5.7418C7.9404,6.0738 7.9861,6.1404 8.8734,6.7071C9.0743,6.8778 9.2732,7.061 9.4149,7.2864C9.4961,7.455 9.506,7.6965 9.4506,7.8905C9.1778,8.7874 7.698,9.319 6.4182,9.5824C6.044,9.6254 5.8174,9.7348 5.7573,9.3953C5.6731,9.1635 6.3349,9.0274 6.1883,8.5602L5.3981,6.6017C5.2777,6.4141 4.9835,6.4428 4.6529,6.4378C4.3828,6.4539 4.1582,6.5875 4.1868,6.2358C4.2494,5.8855 4.9495,5.4913 5.3692,5.5247zM6.9107,6.9283C7.0157,7.2555 7.1266,7.5805 7.243,7.9039C7.3089,8.1797 7.5474,8.4487 7.3995,8.7354L7.7525,8.6641C7.9713,8.6069 8.1787,8.5564 8.3173,8.3504C8.4187,8.1338 8.4115,7.9417 8.2501,7.7752C7.8701,7.4279 7.4654,7.0624 6.9107,6.9283z"
android:strokeWidth=
"0.06201547"
android:fillColor=
"#ffffff"
android:fillAlpha=
"0.99215686"
/>
</vector>
app/src/main/res/drawable/ic_notes.xml
View file @
c1183ffb
<vector
android:height=
"24dp"
android:viewportHeight=
"48"
android:viewportWidth=
"48"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<path
android:fillAlpha=
"1"
android:fillColor=
"#ffffff"
android:pathData=
"m12.625,30.625c1.5833,1.5833 3.1667,3.1667 4.75,4.75C16.7225,35.8675 16.2613,36.8221 15.4785,37 14.5298,37.0938 13.6445,37.1243 14,35.9139 13.7931,35.3018 14.5052,33.7707 13.4569,34 12.638,34 11.819,34 11,34c0.0717,-0.8252 -0.2959,-1.8323 0.576,-2.326 0.3497,-0.3497 0.6993,-0.6993 1.049,-1.049zM25.5625,18.4375c0.4404,1.0323 -1.0119,1.6236 -1.5338,2.3775 -2.6393,2.5957 -5.1984,5.2858 -7.8881,7.8222 -1.765,0.1116 -0.1326,-1.6613 0.5426,-2.1643 2.7353,-2.6917 5.3904,-5.4778 8.1761,-8.1102 0.2171,-0.112 0.5279,-0.1278 0.7031,0.0748zM17,40C22.6667,34.3333 28.3333,28.6667 34,23 31,20 28,17 25,14 19.3333,19.6667 13.6667,25.3333 8,31c0,3 0,6 0,9 3,0 6,0 9,0zM36,21c1.1623,-1.2963 2.6604,-2.3418 3.5254,-3.8643C40.299,15.4271 39.0538,13.8707 37.819,12.819 36.3312,11.431 35.0305,9.8131 33.4025,8.5966 31.787,7.6805 30.0358,8.6954 29.011,9.989 28.3407,10.6593 27.6703,11.3297 27,12c3,3 6,6 9,9zM48,9c-0.0078,10.1543 0.0155,20.3089 -0.0117,30.463 -0.1188,4.9069 -4.8029,8.9754 -9.6671,8.537 -9.928,-0.0078 -19.8564,0.0155 -29.7842,-0.0117C3.6301,47.8695 -0.4383,43.1854 0,38.3212 0.0078,28.3932 -0.0155,18.4648 0.0117,8.537 0.1305,3.6301 4.8146,-0.4383 9.6788,0 19.6068,0.0078 29.5352,-0.0155 39.463,0.0117 44.1261,0.1593 48.0932,4.3318 48,9Z"
android:strokeWidth=
"0.03125"
/>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"48dp"
android:height=
"48dp"
android:viewportWidth=
"12.7"
android:viewportHeight=
"12.7"
>
<path
android:pathData=
"m8.1184,2.9665c-0.2604,-0.0086 -0.5113,0.165 -0.6751,0.3717l-0.4287,0.4283 1.918,1.918c0.2477,-0.2762 0.567,-0.4989 0.7513,-0.8233 0.1649,-0.3641 -0.1002,-0.6957 -0.3634,-0.9199 -0.3171,-0.2958 -0.5942,-0.6406 -0.9411,-0.8999 -0.0861,-0.0488 -0.1742,-0.0721 -0.261,-0.0749z"
android:strokeAlpha=
"1"
android:strokeLineJoin=
"miter"
android:strokeWidth=
"1"
android:fillColor=
"#ffffff"
android:fillAlpha=
"1"
android:strokeColor=
"#00000000"
android:strokeLineCap=
"butt"
/>
<path
android:pathData=
"m6.5881,4.1929c-1.2076,1.2076 -2.4153,2.4153 -3.6229,3.6229l0,1.918l1.918,0c1.2076,-1.2076 2.4153,-2.4153 3.6229,-3.6229zM6.6364,5.1057c0.027,0.0016 0.0529,0.0113 0.0716,0.0329 0.0938,0.22 -0.2155,0.3463 -0.3267,0.507 -0.5625,0.5532 -1.108,1.1265 -1.6812,1.667 -0.3761,0.0238 -0.0282,-0.354 0.1157,-0.4612 0.5829,-0.5736 1.1487,-1.1676 1.7424,-1.7286 0.0231,-0.0119 0.0512,-0.0186 0.0783,-0.0171zM3.9508,7.7359c0.3374,0.3374 0.6749,0.6749 1.0123,1.0123 -0.1391,0.105 -0.2373,0.3084 -0.4042,0.3463 -0.2022,0.02 -0.3909,0.0265 -0.3151,-0.2314 -0.0441,-0.1304 0.1077,-0.4568 -0.1157,-0.4079l-0.5236,0c0.0153,-0.1758 -0.063,-0.3905 0.1228,-0.4957 0.0745,-0.0745 0.149,-0.149 0.2235,-0.2235z"
android:strokeAlpha=
"1"
android:strokeLineJoin=
"miter"
android:strokeWidth=
"3.77952766"
android:fillColor=
"#ffffff"
android:fillAlpha=
"1"
android:strokeColor=
"#00000000"
android:strokeLineCap=
"butt"
/>
</vector>
app/src/main/res/drawable/ic_state.xml
View file @
c1183ffb
<vector
android:height=
"24dp"
android:viewportHeight=
"48"
android:viewportWidth=
"48"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<path
android:fillAlpha=
"1"
android:fillColor=
"#fbfbfb"
android:pathData=
"m34.2857,27.4571h8.1696c-0.3214,0.3482 -0.5357,0.5357 -0.5893,0.5893l-16.6875,16.0714C24.8571,44.4393 24.4286,44.6 24,44.6c-0.4286,0 -0.8571,-0.1607 -1.1786,-0.4821l-16.7143,-16.125c-0.0536,-0.0268 -0.2679,-0.2143 -0.5625,-0.5357h9.8839c0.7768,0 1.4732,-0.5357 1.6607,-1.2857l1.875,-7.5268 5.0893,17.8661c0.2143,0.7232 0.8839,1.2321 1.6607,1.2321 0.75,0 1.4196,-0.5089 1.6339,-1.2321l3.9107,-12.9911 1.5,3c0.2946,0.5625 0.8839,0.9375 1.5268,0.9375zM48,15.9929c0,3.0804 -1.3393,5.8929 -2.7589,8.0357h-9.8839l-2.9732,-5.9196c-0.2946,-0.6161 -0.9911,-0.9911 -1.6607,-0.9375 -0.7232,0.0804 -1.3125,0.5357 -1.5,1.2321l-3.4554,11.5179 -5.25,-18.375c-0.2143,-0.7232 -0.8839,-1.2321 -1.6875,-1.2321 -0.7768,0 -1.4464,0.5357 -1.6339,1.2857L14.0893,24.0286H2.7589C1.3393,21.8857 0,19.0732 0,15.9929 0,8.1446 4.7946,3.4571 12.8036,3.4571 17.4911,3.4571 21.8839,7.1536 24,9.2429 26.1161,7.1536 30.5089,3.4571 35.1964,3.4571 43.2054,3.4571 48,8.1446 48,15.9929Z"
android:strokeWidth=
"0.02678571"
/>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"48dp"
android:height=
"48dp"
android:viewportWidth=
"12.7"
android:viewportHeight=
"12.7"
>
<path
android:pathData=
"m4.0154,5.5724h-1.2896c-0.1119,0 -0.2027,-0.0907 -0.2027,-0.2027 0,-0.1119 0.0907,-0.2027 0.2027,-0.2027h1.4015c0.0696,0 0.1344,0.0357 0.1715,0.0946l0.4037,0.6407 0.6216,-1.5867c0.0314,-0.0801 0.1101,-0.1311 0.1957,-0.1286 0.0859,0.003 0.1606,0.0599 0.1864,0.1418l0.5912,1.8828 0.2143,-0.8894c0.022,-0.091 0.1034,-0.1552 0.1971,-0.1552h1.0062c0.1119,0 0.2027,0.0907 0.2027,0.2027 0,0.1119 -0.0907,0.2027 -0.2027,0.2027L6.8684,5.5723l-0.3483,1.4452c-0.0213,0.0886 -0.0991,0.152 -0.1902,0.1551 -0.0023,0.0001 -0.0046,0.0001 -0.0069,0.0001 -0.0883,0 -0.1667,-0.0572 -0.1933,-0.142l-0.638,-2.0318 -0.5582,1.4247c-0.0279,0.0712 -0.0935,0.1207 -0.1696,0.1279 -0.076,0.007 -0.1499,-0.029 -0.1906,-0.0937zM9.6494,3.6414c-0.4355,-0.4213 -1.0047,-0.6533 -1.6026,-0.6533 -0.5256,0 -1.0283,0.1778 -1.4342,0.504 -0.4059,-0.3262 -0.9086,-0.504 -1.4342,-0.504 -0.598,0 -1.1672,0.232 -1.6027,0.6533 -0.2592,0.2507 -0.4248,0.55 -0.4924,0.8895 -0.1656,0.7752 0.1754,1.3963 0.3717,1.8109 0.5897,1.1536 1.6502,2.1973 2.0787,2.5925 0.0578,0.0534 0.1121,0.1037 0.1633,0.1513 0.424,0.3937 0.6368,0.5913 0.8892,0.6245 0.0088,0.002 0.0176,0.002 0.0264,0.002 0.0088,0 0.0176,-0.0006 0.0264,-0.002 0.2525,-0.0332 0.4652,-0.2307 0.889,-0.6242 0.0512,-0.0476 0.1056,-0.0981 0.1635,-0.1514 0.5781,-0.5332 2.466,-2.3983 2.4853,-4.0126 0.0061,-0.5052 -0.1714,-0.936 -0.5273,-1.2803z"
android:strokeWidth=
"0.0202692"
android:fillColor=
"#ffffff"
android:fillAlpha=
"0.99215686"
/>
</vector>
app/src/main/res/drawable/ic_user.xml
View file @
c1183ffb
<vector
android:height=
"24dp"
android:viewportHeight=
"48"
android:viewportWidth=
"48"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<path
android:fillAlpha=
"1"
android:fillColor=
"#ffffff"
android:pathData=
"M43.8,39.7188C43.8,44.2813 40.8,48 37.1437,48H10.4563C6.8,48 3.8,44.2813 3.8,39.7188 3.8,31.5 5.8313,22 14.0188,22 16.55,24.4688 19.9875,26 23.8,26 27.6125,26 31.05,24.4688 33.5812,22 41.7687,22 43.8,31.5 43.8,39.7188ZM35.8,12c0,6.625 -5.375,12 -12,12 -6.625,0 -12,-5.375 -12,-12 0,-6.625 5.375,-12 12,-12 6.625,0 12,5.375 12,12z"
android:strokeWidth=
"0.03125"
/>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"48dp"
android:height=
"48dp"
android:viewportWidth=
"12.7"
android:viewportHeight=
"12.7"
>
<path
android:pathData=
"m5.9624,9.8649c-0.8623,-0.0564 -2.2522,-0.3549 -2.5175,-0.5407 -0.1144,-0.0801 -0.1308,-0.2485 -0.0826,-0.8442 0.0774,-0.9564 0.2725,-1.5972 0.551,-1.8096 0.0613,-0.0467 0.2988,-0.1561 0.5277,-0.2429l0.4163,-0.1579 0.146,0.1001c0.5267,0.361 1.161,0.4971 1.7557,0.3766 0.3112,-0.0631 0.7119,-0.2314 0.91,-0.3823l0.1161,-0.0884 0.2603,0.0803c0.5783,0.1784 0.852,0.3988 1.0058,0.8098 0.1735,0.4637 0.3748,1.8743 0.2931,2.0536 -0.0521,0.1144 -0.179,0.1741 -0.6709,0.3157 -0.8381,0.2412 -1.9673,0.3787 -2.7111,0.3301zM5.8669,5.9868c-0.2847,-0.091 -0.4784,-0.2135 -0.6879,-0.435 -0.3115,-0.3293 -0.4409,-0.6589 -0.4398,-1.1203 0.002,-0.9026 0.7082,-1.6062 1.6121,-1.6062 0.9039,0 1.6101,0.7036 1.6121,1.6062 0.0007,0.311 -0.0424,0.5023 -0.17,0.7539 -0.1094,0.2158 -0.401,0.5287 -0.6034,0.6473 -0.3769,0.2209 -0.9173,0.2838 -1.3231,0.154z"
android:strokeWidth=
"0.03534844"
android:fillColor=
"#ffffff"
/>
</vector>
app/src/main/res/layout-v21/item_toolbar.xml
View file @
c1183ffb
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
...
...
app/src/main/res/layout/activity_main.xml
View file @
c1183ffb
...
...
@@ -61,8 +61,8 @@
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
2
0dp"
android:layout_marginBottom=
"
30
dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginBottom=
"
5
dp"
android:contentDescription=
"@string/logo"
android:src=
"@drawable/ic_logo"
/>
...
...
@@ -190,11 +190,22 @@
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:maxWidth=
"@dimen/extra_margin"
android:drawableTop=
"@drawable/ic_board"
android:text=
"@string/action_board"
android:textColor=
"@color/white"
app:fontFamily=
"@font/open_sans_regular"
/>
<Button
android:id=
"@+id/CallsBtn"
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:drawableTop=
"@drawable/ic_calls"
android:text=
"@string/action_calls"
android:textColor=
"@color/white"
app:fontFamily=
"@font/open_sans_regular"
/>
<Button
android:id=
"@+id/NotesBtn"
style=
"?android:attr/borderlessButtonStyle"
...
...
@@ -205,6 +216,16 @@
android:textColor=
"@color/white"
app:fontFamily=
"@font/open_sans_regular"
/>
<Button
android:id=
"@+id/GitBtn"
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:drawableTop=
"@drawable/ic_git"
android:text=
"@string/action_git"
android:textColor=
"@color/white"
app:fontFamily=
"@font/open_sans_regular"
/>
<Button
android:id=
"@+id/UserBtn"
style=
"?android:attr/borderlessButtonStyle"
...
...
app/src/main/res/layout/activity_settings.xml
View file @
c1183ffb
...
...
@@ -2,6 +2,7 @@
<LinearLayout
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".ui.SettingsActivity"
...
...
@@ -54,7 +55,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:id=
"@+id/mailView"
android:layout_width=
"wrap_content"
...
...
@@ -75,7 +76,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:id=
"@+id/cloudView"
android:layout_width=
"wrap_content"
...
...
@@ -96,7 +97,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -116,7 +117,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -135,7 +136,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -154,7 +155,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -173,7 +174,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -192,7 +193,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -211,7 +212,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -230,7 +231,7 @@
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"@dimen/activity_horizontal_margin
"
>
style=
"@style/DisTheme.Settings
"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -246,6 +247,139 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
/>
</FrameLayout>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
style=
"@style/DisTheme.Settings"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
style=
"?android:attr/borderlessButtonStyle"
android:text=
"@string/action_board"
android:textColor=
"@color/gray"
android:drawableTint=
"@color/gray"
android:drawableStart=
"@drawable/ic_board"
android:drawableLeft=
"@drawable/ic_board"
/>
<CheckBox
android:id=
"@+id/boardBtnPreference"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
/>
</FrameLayout>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
style=
"@style/DisTheme.Settings"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
style=
"?android:attr/borderlessButtonStyle"
android:text=
"@string/action_calls"
android:textColor=
"@color/gray"
android:drawableTint=
"@color/gray"
android:drawableStart=
"@drawable/ic_calls"
android:drawableLeft=
"@drawable/ic_calls"
/>
<CheckBox
android:id=
"@+id/callsBtnPreference"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
/>
</FrameLayout>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
style=
"@style/DisTheme.Settings"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
style=
"?android:attr/borderlessButtonStyle"
android:text=
"@string/action_notes"
android:textColor=
"@color/gray"
android:drawableTint=
"@color/gray"
android:drawableStart=
"@drawable/ic_notes"
android:drawableLeft=
"@drawable/ic_notes"
/>
<CheckBox
android:id=
"@+id/notesBtnPreference"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
/>
</FrameLayout>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
style=
"@style/DisTheme.Settings"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
style=
"?android:attr/borderlessButtonStyle"
android:text=
"@string/action_git"
android:textColor=
"@color/gray"
android:drawableTint=
"@color/gray"