OliverParoczai
4 years ago
23 changed files with 517 additions and 201 deletions
@ -0,0 +1,26 @@ |
|||||
|
package hu.paroczaioliver.paredu; |
||||
|
|
||||
|
import android.content.Context; |
||||
|
|
||||
|
import androidx.test.platform.app.InstrumentationRegistry; |
||||
|
import androidx.test.ext.junit.runners.AndroidJUnit4; |
||||
|
|
||||
|
import org.junit.Test; |
||||
|
import org.junit.runner.RunWith; |
||||
|
|
||||
|
import static org.junit.Assert.*; |
||||
|
|
||||
|
/** |
||||
|
* Instrumented test, which will execute on an Android device. |
||||
|
* |
||||
|
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a> |
||||
|
*/ |
||||
|
@RunWith(AndroidJUnit4.class) |
||||
|
public class ExampleInstrumentedTest { |
||||
|
@Test |
||||
|
public void useAppContext() { |
||||
|
// Context of the app under test.
|
||||
|
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); |
||||
|
assertEquals("hu.paroczaioliver.projectlancer", appContext.getPackageName()); |
||||
|
} |
||||
|
} |
@ -0,0 +1,90 @@ |
|||||
|
package hu.paroczaioliver.paredu; |
||||
|
|
||||
|
import android.os.Bundle; |
||||
|
import android.view.Gravity; |
||||
|
import android.view.MenuItem; |
||||
|
import android.view.View; |
||||
|
import android.view.Menu; |
||||
|
|
||||
|
import com.google.android.material.floatingactionbutton.FloatingActionButton; |
||||
|
import com.google.android.material.snackbar.Snackbar; |
||||
|
import com.google.android.material.navigation.NavigationView; |
||||
|
|
||||
|
import androidx.fragment.app.Fragment; |
||||
|
import androidx.navigation.NavController; |
||||
|
import androidx.navigation.Navigation; |
||||
|
import androidx.navigation.ui.AppBarConfiguration; |
||||
|
import androidx.navigation.ui.NavigationUI; |
||||
|
import androidx.drawerlayout.widget.DrawerLayout; |
||||
|
import androidx.appcompat.app.AppCompatActivity; |
||||
|
import androidx.appcompat.widget.Toolbar; |
||||
|
import android.content.Intent; |
||||
|
|
||||
|
public class MainActivity extends AppCompatActivity { |
||||
|
|
||||
|
private AppBarConfiguration mAppBarConfiguration; |
||||
|
private Fragment mFragment; |
||||
|
|
||||
|
@Override |
||||
|
protected void onCreate(Bundle savedInstanceState) { |
||||
|
super.onCreate(savedInstanceState); |
||||
|
setContentView(R.layout.activity_main); |
||||
|
Toolbar toolbar = findViewById(R.id.toolbar); |
||||
|
setSupportActionBar(toolbar); |
||||
|
FloatingActionButton fab = findViewById(R.id.fab); |
||||
|
fab.setOnClickListener(new View.OnClickListener() { |
||||
|
@Override |
||||
|
public void onClick(View view) { |
||||
|
Snackbar.make(view, "Jelenleg letiltva", Snackbar.LENGTH_LONG) |
||||
|
.setAction("Action", null).show(); |
||||
|
} |
||||
|
}); |
||||
|
DrawerLayout drawer = findViewById(R.id.drawer_layout); |
||||
|
NavigationView navigationView = findViewById(R.id.nav_view); |
||||
|
mAppBarConfiguration = new AppBarConfiguration.Builder( |
||||
|
R.id.nav_home, R.id.nav_events, R.id.nav_schools, R.id.nav_map, R.id.nav_projects, R.id.nav_chats) |
||||
|
.setDrawerLayout(drawer) |
||||
|
.build(); |
||||
|
NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment); |
||||
|
NavigationUI.setupActionBarWithNavController(this, navController, mAppBarConfiguration); |
||||
|
NavigationUI.setupWithNavController(navigationView, navController); |
||||
|
navigationView.bringToFront(); |
||||
|
if(getIntent().getExtras() != null){ |
||||
|
navController.navigate(getIntent().getExtras().getInt("frgname")); |
||||
|
} |
||||
|
navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() { |
||||
|
@Override |
||||
|
public boolean onNavigationItemSelected(MenuItem item) { |
||||
|
if(item.getItemId() == R.id.nav_map) { |
||||
|
drawer.closeDrawer(Gravity.LEFT); |
||||
|
MainActivity.this.startActivity(new Intent(MainActivity.this, MapActivity.class).addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION)); |
||||
|
return false; |
||||
|
}else{ |
||||
|
drawer.closeDrawer(Gravity.LEFT); |
||||
|
navController.navigate(item.getItemId()); |
||||
|
item.setChecked(true); |
||||
|
return true; |
||||
|
} |
||||
|
} |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public boolean onCreateOptionsMenu(Menu menu) { |
||||
|
getMenuInflater().inflate(R.menu.main, menu); |
||||
|
return true; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public boolean onSupportNavigateUp() { |
||||
|
NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment); |
||||
|
return NavigationUI.navigateUp(navController, mAppBarConfiguration) |
||||
|
|| super.onSupportNavigateUp(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public void onBackPressed() { |
||||
|
finishAffinity(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,85 @@ |
|||||
|
package hu.paroczaioliver.paredu; |
||||
|
|
||||
|
import androidx.appcompat.app.AppCompatActivity; |
||||
|
import androidx.appcompat.widget.Toolbar; |
||||
|
import androidx.drawerlayout.widget.DrawerLayout; |
||||
|
import androidx.navigation.NavController; |
||||
|
import androidx.navigation.Navigation; |
||||
|
import androidx.navigation.ui.AppBarConfiguration; |
||||
|
import androidx.navigation.ui.NavigationUI; |
||||
|
|
||||
|
import android.content.Context; |
||||
|
import android.content.Intent; |
||||
|
import android.os.Bundle; |
||||
|
import android.preference.PreferenceManager; |
||||
|
import android.view.Gravity; |
||||
|
import android.view.Menu; |
||||
|
import android.view.MenuItem; |
||||
|
|
||||
|
import com.google.android.material.navigation.NavigationView; |
||||
|
|
||||
|
import org.osmdroid.api.IMapController; |
||||
|
import org.osmdroid.tileprovider.tilesource.TileSourceFactory; |
||||
|
import org.osmdroid.util.GeoPoint; |
||||
|
import org.osmdroid.views.MapView; |
||||
|
import org.osmdroid.config.Configuration; |
||||
|
|
||||
|
public class MapActivity extends AppCompatActivity { |
||||
|
MapView map = null; |
||||
|
private AppBarConfiguration mAppBarConfiguration; |
||||
|
|
||||
|
@Override public void onCreate(Bundle savedInstanceState) { |
||||
|
super.onCreate(savedInstanceState); |
||||
|
setContentView(R.layout.activity_map); |
||||
|
Toolbar toolbar = findViewById(R.id.toolbar); |
||||
|
setSupportActionBar(toolbar); |
||||
|
DrawerLayout drawer = findViewById(R.id.drawer_layout); |
||||
|
NavigationView navigationView = findViewById(R.id.nav_view); |
||||
|
mAppBarConfiguration = new AppBarConfiguration.Builder( |
||||
|
R.id.nav_home, R.id.nav_events, R.id.nav_schools, R.id.nav_map, R.id.nav_projects, R.id.nav_chats) |
||||
|
.setDrawerLayout(drawer) |
||||
|
.build(); |
||||
|
NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment); |
||||
|
NavigationUI.setupActionBarWithNavController(this, navController, mAppBarConfiguration); |
||||
|
NavigationUI.setupWithNavController(navigationView, navController); |
||||
|
navigationView.setCheckedItem(R.id.nav_map); |
||||
|
Context ctx = getApplicationContext(); |
||||
|
Configuration.getInstance().load(ctx, PreferenceManager.getDefaultSharedPreferences(ctx)); |
||||
|
map = (MapView) findViewById(R.id.map); |
||||
|
map.setTileSource(TileSourceFactory.MAPNIK); |
||||
|
IMapController mapController = map.getController(); |
||||
|
mapController.setZoom(9.00); |
||||
|
GeoPoint startPoint = new GeoPoint(47.497913, 19.040236); |
||||
|
mapController.setCenter(startPoint); |
||||
|
navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() { |
||||
|
public boolean onNavigationItemSelected(MenuItem item) { |
||||
|
drawer.closeDrawer(Gravity.LEFT); |
||||
|
Intent i = new Intent(MapActivity.this, MainActivity.class).addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); |
||||
|
i.putExtra("frgname", item.getItemId()); |
||||
|
startActivity(i); |
||||
|
return false; |
||||
|
} |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public boolean onCreateOptionsMenu(Menu menu) { |
||||
|
getMenuInflater().inflate(R.menu.main, menu); |
||||
|
return true; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public boolean onSupportNavigateUp() { |
||||
|
NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment); |
||||
|
return NavigationUI.navigateUp(navController, mAppBarConfiguration) |
||||
|
|| super.onSupportNavigateUp(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public void onBackPressed() { |
||||
|
finishAffinity(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.chats; |
||||
|
|
||||
|
import android.os.Bundle; |
||||
|
import android.view.LayoutInflater; |
||||
|
import android.view.View; |
||||
|
import android.view.ViewGroup; |
||||
|
import android.widget.TextView; |
||||
|
|
||||
|
import androidx.annotation.NonNull; |
||||
|
import androidx.annotation.Nullable; |
||||
|
import androidx.fragment.app.Fragment; |
||||
|
import androidx.lifecycle.Observer; |
||||
|
import androidx.lifecycle.ViewModelProvider; |
||||
|
|
||||
|
import hu.paroczaioliver.paredu.R; |
||||
|
|
||||
|
public class ChatsFragment extends Fragment { |
||||
|
|
||||
|
private ChatsViewModel chatsViewModel; |
||||
|
|
||||
|
public View onCreateView(@NonNull LayoutInflater inflater, |
||||
|
ViewGroup container, Bundle savedInstanceState) { |
||||
|
chatsViewModel = |
||||
|
new ViewModelProvider(this).get(ChatsViewModel.class); |
||||
|
View root = inflater.inflate(R.layout.fragment_chats, container, false); |
||||
|
final TextView textView = root.findViewById(R.id.text_chats); |
||||
|
chatsViewModel.getText().observe(getViewLifecycleOwner(), new Observer<String>() { |
||||
|
@Override |
||||
|
public void onChanged(@Nullable String s) { |
||||
|
textView.setText(s); |
||||
|
} |
||||
|
}); |
||||
|
return root; |
||||
|
} |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.chats; |
||||
|
|
||||
|
import androidx.lifecycle.LiveData; |
||||
|
import androidx.lifecycle.MutableLiveData; |
||||
|
import androidx.lifecycle.ViewModel; |
||||
|
|
||||
|
public class ChatsViewModel extends ViewModel { |
||||
|
|
||||
|
private MutableLiveData<String> mText; |
||||
|
|
||||
|
public ChatsViewModel() { |
||||
|
mText = new MutableLiveData<>(); |
||||
|
mText.setValue("Üzenetek - Fejlesztés alatt"); |
||||
|
} |
||||
|
|
||||
|
public LiveData<String> getText() { |
||||
|
return mText; |
||||
|
} |
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.events; |
||||
|
|
||||
|
import android.os.Bundle; |
||||
|
import android.view.LayoutInflater; |
||||
|
import android.view.View; |
||||
|
import android.view.ViewGroup; |
||||
|
import android.widget.TextView; |
||||
|
|
||||
|
import androidx.annotation.NonNull; |
||||
|
import androidx.annotation.Nullable; |
||||
|
import androidx.fragment.app.Fragment; |
||||
|
import androidx.lifecycle.Observer; |
||||
|
import androidx.lifecycle.ViewModelProvider; |
||||
|
|
||||
|
import hu.paroczaioliver.paredu.R; |
||||
|
|
||||
|
public class EventsFragment extends Fragment { |
||||
|
|
||||
|
private EventsViewModel eventViewModel; |
||||
|
|
||||
|
public View onCreateView(@NonNull LayoutInflater inflater, |
||||
|
ViewGroup container, Bundle savedInstanceState) { |
||||
|
eventViewModel = |
||||
|
new ViewModelProvider(this).get(EventsViewModel.class); |
||||
|
View root = inflater.inflate(R.layout.fragment_events, container, false); |
||||
|
final TextView textView = root.findViewById(R.id.text_events); |
||||
|
eventViewModel.getText().observe(getViewLifecycleOwner(), new Observer<String>() { |
||||
|
@Override |
||||
|
public void onChanged(@Nullable String s) { |
||||
|
textView.setText(s); |
||||
|
} |
||||
|
}); |
||||
|
return root; |
||||
|
} |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.events; |
||||
|
|
||||
|
import androidx.lifecycle.LiveData; |
||||
|
import androidx.lifecycle.MutableLiveData; |
||||
|
import androidx.lifecycle.ViewModel; |
||||
|
|
||||
|
public class EventsViewModel extends ViewModel { |
||||
|
|
||||
|
private MutableLiveData<String> mText; |
||||
|
|
||||
|
public EventsViewModel() { |
||||
|
mText = new MutableLiveData<>(); |
||||
|
mText.setValue("Rendezvények - Fejlesztés alatt"); |
||||
|
} |
||||
|
|
||||
|
public LiveData<String> getText() { |
||||
|
return mText; |
||||
|
} |
||||
|
} |
@ -0,0 +1,33 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.home; |
||||
|
|
||||
|
import android.os.Bundle; |
||||
|
import android.view.LayoutInflater; |
||||
|
import android.view.View; |
||||
|
import android.view.ViewGroup; |
||||
|
|
||||
|
import androidx.annotation.NonNull; |
||||
|
import androidx.annotation.Nullable; |
||||
|
import androidx.fragment.app.Fragment; |
||||
|
import androidx.lifecycle.Observer; |
||||
|
import androidx.lifecycle.ViewModelProvider; |
||||
|
|
||||
|
import hu.paroczaioliver.paredu.R; |
||||
|
|
||||
|
public class HomeFragment extends Fragment { |
||||
|
|
||||
|
private HomeViewModel homeViewModel; |
||||
|
|
||||
|
public View onCreateView(@NonNull LayoutInflater inflater, |
||||
|
ViewGroup container, Bundle savedInstanceState) { |
||||
|
homeViewModel = |
||||
|
new ViewModelProvider(this).get(hu.paroczaioliver.paredu.ui.home.HomeViewModel.class); |
||||
|
View root = inflater.inflate(R.layout.fragment_home, container, false); |
||||
|
homeViewModel.getText().observe(getViewLifecycleOwner(), new Observer<String>() { |
||||
|
@Override |
||||
|
public void onChanged(@Nullable String s) { |
||||
|
|
||||
|
} |
||||
|
}); |
||||
|
return root; |
||||
|
} |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.home; |
||||
|
|
||||
|
import androidx.lifecycle.LiveData; |
||||
|
import androidx.lifecycle.MutableLiveData; |
||||
|
import androidx.lifecycle.ViewModel; |
||||
|
|
||||
|
public class HomeViewModel extends ViewModel { |
||||
|
|
||||
|
private MutableLiveData<String> mText; |
||||
|
|
||||
|
public HomeViewModel() { |
||||
|
mText = new MutableLiveData<>(); |
||||
|
mText.setValue("Kezdőlap"); |
||||
|
} |
||||
|
|
||||
|
public LiveData<String> getText() { |
||||
|
return mText; |
||||
|
} |
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.projects; |
||||
|
|
||||
|
import android.os.Bundle; |
||||
|
import android.view.LayoutInflater; |
||||
|
import android.view.View; |
||||
|
import android.view.ViewGroup; |
||||
|
import android.widget.TextView; |
||||
|
|
||||
|
import androidx.annotation.NonNull; |
||||
|
import androidx.annotation.Nullable; |
||||
|
import androidx.fragment.app.Fragment; |
||||
|
import androidx.lifecycle.Observer; |
||||
|
import androidx.lifecycle.ViewModelProvider; |
||||
|
|
||||
|
import hu.paroczaioliver.paredu.R; |
||||
|
|
||||
|
public class ProjectsFragment extends Fragment { |
||||
|
|
||||
|
private hu.paroczaioliver.paredu.ui.projects.ProjectsViewModel ProjectsViewModel; |
||||
|
|
||||
|
public View onCreateView(@NonNull LayoutInflater inflater, |
||||
|
ViewGroup container, Bundle savedInstanceState) { |
||||
|
ProjectsViewModel = |
||||
|
new ViewModelProvider(this).get(hu.paroczaioliver.paredu.ui.projects.ProjectsViewModel.class); |
||||
|
View root = inflater.inflate(R.layout.fragment_projects, container, false); |
||||
|
final TextView textView = root.findViewById(R.id.text_projects); |
||||
|
ProjectsViewModel.getText().observe(getViewLifecycleOwner(), new Observer<String>() { |
||||
|
@Override |
||||
|
public void onChanged(@Nullable String s) { |
||||
|
textView.setText(s); |
||||
|
} |
||||
|
}); |
||||
|
return root; |
||||
|
} |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.projects; |
||||
|
|
||||
|
import androidx.lifecycle.LiveData; |
||||
|
import androidx.lifecycle.MutableLiveData; |
||||
|
import androidx.lifecycle.ViewModel; |
||||
|
|
||||
|
public class ProjectsViewModel extends ViewModel { |
||||
|
|
||||
|
private MutableLiveData<String> mText; |
||||
|
|
||||
|
public ProjectsViewModel() { |
||||
|
mText = new MutableLiveData<>(); |
||||
|
mText.setValue("Projektek - Fejlesztés alatt"); |
||||
|
} |
||||
|
|
||||
|
public LiveData<String> getText() { |
||||
|
return mText; |
||||
|
} |
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.schools; |
||||
|
|
||||
|
import android.os.Bundle; |
||||
|
import android.view.LayoutInflater; |
||||
|
import android.view.View; |
||||
|
import android.view.ViewGroup; |
||||
|
import android.widget.TextView; |
||||
|
|
||||
|
import androidx.annotation.NonNull; |
||||
|
import androidx.annotation.Nullable; |
||||
|
import androidx.fragment.app.Fragment; |
||||
|
import androidx.lifecycle.Observer; |
||||
|
import androidx.lifecycle.ViewModelProvider; |
||||
|
|
||||
|
import hu.paroczaioliver.paredu.R; |
||||
|
|
||||
|
public class SchoolsFragment extends Fragment { |
||||
|
|
||||
|
private SchoolsViewModel schoolsViewModel; |
||||
|
|
||||
|
public View onCreateView(@NonNull LayoutInflater inflater, |
||||
|
ViewGroup container, Bundle savedInstanceState) { |
||||
|
schoolsViewModel = |
||||
|
new ViewModelProvider(this).get(SchoolsViewModel.class); |
||||
|
View root = inflater.inflate(R.layout.fragment_schools, container, false); |
||||
|
final TextView textView = root.findViewById(R.id.text_schools); |
||||
|
schoolsViewModel.getText().observe(getViewLifecycleOwner(), new Observer<String>() { |
||||
|
@Override |
||||
|
public void onChanged(@Nullable String s) { |
||||
|
textView.setText(s); |
||||
|
} |
||||
|
}); |
||||
|
return root; |
||||
|
} |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package hu.paroczaioliver.paredu.ui.schools; |
||||
|
|
||||
|
import androidx.lifecycle.LiveData; |
||||
|
import androidx.lifecycle.MutableLiveData; |
||||
|
import androidx.lifecycle.ViewModel; |
||||
|
|
||||
|
public class SchoolsViewModel extends ViewModel { |
||||
|
|
||||
|
private MutableLiveData<String> mText; |
||||
|
|
||||
|
public SchoolsViewModel() { |
||||
|
mText = new MutableLiveData<>(); |
||||
|
mText.setValue("Iskolák - Fejlesztés alatt"); |
||||
|
} |
||||
|
|
||||
|
public LiveData<String> getText() { |
||||
|
return mText; |
||||
|
} |
||||
|
} |
@ -1,30 +1,5 @@ |
|||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
<vector android:height="48dp" android:tint="?attr/colorControlNormal" |
||||
xmlns:aapt="http://schemas.android.com/aapt" |
android:viewportHeight="24" android:viewportWidth="24" |
||||
android:width="108dp" |
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
android:height="108dp" |
<path android:fillColor="#1565C0" android:pathData="M18,2H0c-1.1,0 -2,0.9 -2,2v24c2,1. 0.9,2 2,2h24c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zM6,4h5v8l-2.5,-1.5L6,12V4z"/> |
||||
android:viewportWidth="108" |
</vector> |
||||
android:viewportHeight="108"> |
|
||||
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> |
|
||||
<aapt:attr name="android:fillColor"> |
|
||||
<gradient |
|
||||
android:endX="85.84757" |
|
||||
android:endY="92.4963" |
|
||||
android:startX="42.9492" |
|
||||
android:startY="49.59793" |
|
||||
android:type="linear"> |
|
||||
<item |
|
||||
android:color="#44000000" |
|
||||
android:offset="0.0" /> |
|
||||
<item |
|
||||
android:color="#00000000" |
|
||||
android:offset="1.0" /> |
|
||||
</gradient> |
|
||||
</aapt:attr> |
|
||||
</path> |
|
||||
<path |
|
||||
android:fillColor="#FFFFFF" |
|
||||
android:fillType="nonZero" |
|
||||
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" |
|
||||
android:strokeWidth="1" |
|
||||
android:strokeColor="#00000000" /> |
|
||||
</vector> |
|
||||
|
@ -0,0 +1,5 @@ |
|||||
|
<vector android:height="48dp" android:tint="?attr/colorControlNormal" |
||||
|
android:viewportHeight="24" android:viewportWidth="24" |
||||
|
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
<path android:fillColor="@android:color/white" android:pathData="M18,2H6c-1.1,0 -2,0.9 -2,2v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zM6,4h5v8l-2.5,-1.5L6,12V4z"/> |
||||
|
</vector> |
@ -0,0 +1,5 @@ |
|||||
|
<vector android:height="64dp" android:tint="?attr/colorControlNormal" |
||||
|
android:viewportHeight="24" android:viewportWidth="24" |
||||
|
android:width="64dp" xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
<path android:fillColor="@android:color/white" android:pathData="M18,2H6c-1.1,0 -2,0.9 -2,2v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zM6,4h5v8l-2.5,-1.5L6,12V4z"/> |
||||
|
</vector> |
@ -0,0 +1,5 @@ |
|||||
|
<vector android:height="96dp" android:tint="?attr/colorControlNormal" |
||||
|
android:viewportHeight="24" android:viewportWidth="24" |
||||
|
android:width="96dp" xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
<path android:fillColor="@android:color/white" android:pathData="M18,2H6c-1.1,0 -2,0.9 -2,2v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zM6,4h5v8l-2.5,-1.5L6,12V4z"/> |
||||
|
</vector> |
@ -0,0 +1,17 @@ |
|||||
|
package hu.paroczaioliver.paredu; |
||||
|
|
||||
|
import org.junit.Test; |
||||
|
|
||||
|
import static org.junit.Assert.*; |
||||
|
|
||||
|
/** |
||||
|
* Example local unit test, which will execute on the development machine (host). |
||||
|
* |
||||
|
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a> |
||||
|
*/ |
||||
|
public class ExampleUnitTest { |
||||
|
@Test |
||||
|
public void addition_isCorrect() { |
||||
|
assertEquals(4, 2 + 2); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue