|
@ -20,6 +20,7 @@ import android.widget.ImageButton; |
|
|
import android.widget.Toast; |
|
|
import android.widget.Toast; |
|
|
|
|
|
|
|
|
import com.mikepenz.fontawesome_typeface_library.FontAwesome; |
|
|
import com.mikepenz.fontawesome_typeface_library.FontAwesome; |
|
|
|
|
|
import com.mikepenz.google_material_typeface_library.GoogleMaterial; |
|
|
import com.mikepenz.iconics.IconicsDrawable; |
|
|
import com.mikepenz.iconics.IconicsDrawable; |
|
|
import com.mikepenz.materialdrawer.AccountHeader; |
|
|
import com.mikepenz.materialdrawer.AccountHeader; |
|
|
import com.mikepenz.materialdrawer.AccountHeaderBuilder; |
|
|
import com.mikepenz.materialdrawer.AccountHeaderBuilder; |
|
@ -156,27 +157,27 @@ public abstract class BaseActivity extends AppCompatActivity { |
|
|
|
|
|
|
|
|
//Drawer Icons
|
|
|
//Drawer Icons
|
|
|
homeIcon = new IconicsDrawable(this) |
|
|
homeIcon = new IconicsDrawable(this) |
|
|
.icon(FontAwesome.Icon.faw_home) |
|
|
.icon(GoogleMaterial.Icon.gmd_home) |
|
|
.color(primaryColor); |
|
|
.color(primaryColor); |
|
|
|
|
|
|
|
|
homeIconSelected = new IconicsDrawable(this) |
|
|
homeIconSelected = new IconicsDrawable(this) |
|
|
.icon(FontAwesome.Icon.faw_home) |
|
|
.icon(GoogleMaterial.Icon.gmd_home) |
|
|
.color(selectedSecondaryColor); |
|
|
.color(selectedSecondaryColor); |
|
|
|
|
|
|
|
|
downloadsIcon = new IconicsDrawable(this) |
|
|
bookmarksIcon = new IconicsDrawable(this) |
|
|
.icon(FontAwesome.Icon.faw_download) |
|
|
.icon(GoogleMaterial.Icon.gmd_bookmark) |
|
|
.color(primaryColor); |
|
|
.color(primaryColor); |
|
|
|
|
|
|
|
|
downloadsIconSelected = new IconicsDrawable(this) |
|
|
bookmarksIconSelected = new IconicsDrawable(this) |
|
|
.icon(FontAwesome.Icon.faw_download) |
|
|
.icon(GoogleMaterial.Icon.gmd_bookmark) |
|
|
.color(selectedSecondaryColor); |
|
|
.color(selectedSecondaryColor); |
|
|
|
|
|
|
|
|
bookmarksIcon = new IconicsDrawable(this) |
|
|
downloadsIcon = new IconicsDrawable(this) |
|
|
.icon(FontAwesome.Icon.faw_bookmark) |
|
|
.icon(GoogleMaterial.Icon.gmd_file_download) |
|
|
.color(primaryColor); |
|
|
.color(primaryColor); |
|
|
|
|
|
|
|
|
bookmarksIconSelected = new IconicsDrawable(this) |
|
|
downloadsIconSelected = new IconicsDrawable(this) |
|
|
.icon(FontAwesome.Icon.faw_bookmark) |
|
|
.icon(GoogleMaterial.Icon.gmd_file_download) |
|
|
.color(selectedSecondaryColor); |
|
|
.color(selectedSecondaryColor); |
|
|
|
|
|
|
|
|
loginIcon = new IconicsDrawable(this) |
|
|
loginIcon = new IconicsDrawable(this) |
|
@ -188,11 +189,11 @@ public abstract class BaseActivity extends AppCompatActivity { |
|
|
.color(primaryColor); |
|
|
.color(primaryColor); |
|
|
|
|
|
|
|
|
aboutIcon = new IconicsDrawable(this) |
|
|
aboutIcon = new IconicsDrawable(this) |
|
|
.icon(FontAwesome.Icon.faw_info_circle) |
|
|
.icon(GoogleMaterial.Icon.gmd_info) |
|
|
.color(primaryColor); |
|
|
.color(primaryColor); |
|
|
|
|
|
|
|
|
aboutIconSelected = new IconicsDrawable(this) |
|
|
aboutIconSelected = new IconicsDrawable(this) |
|
|
.icon(FontAwesome.Icon.faw_info_circle) |
|
|
.icon(GoogleMaterial.Icon.gmd_info) |
|
|
.color(selectedSecondaryColor); |
|
|
.color(selectedSecondaryColor); |
|
|
|
|
|
|
|
|
//Drawer Items
|
|
|
//Drawer Items
|
|
|