Skip to content

Instantly share code, notes, and snippets.

View FeherMarcell's full-sized avatar

Marcell Feher FeherMarcell

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:id="@+id/activityTitleTextview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="10dp"
>
<LinearLayout
android:id="@+id/itemData"
<application
android:icon="@drawable/icon"
android:label="@string/app_name" >
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
@FeherMarcell
FeherMarcell / ApplicationInfo.java
Created October 1, 2012 16:20
AndroidLabor4HomeScreen
class ApplicationInfo {
/**
* The application name.
*/
CharSequence title;
/**
* The intent used to start the application.
*/
Intent intent;
class DropboxConnector : public RESTConnector
{
private:
bool cacheEnabled = false;
public:
// Reads and sets cache mode
part of dartpong;
class Ball {
Board board;
num x, y, r;
Ball(this.board, this.x, this.y, this.r) {
draw();
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:id="@+id/activityTitleTextview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@FeherMarcell
FeherMarcell / activity_main.xml
Created June 5, 2013 11:22
ImplicitIntentDemoApp
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >
package com.example.cameraphoto2;
import java.io.File;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
@FeherMarcell
FeherMarcell / AndroidManifest.xml - EditTodoActivity node
Last active December 28, 2015 09:58
Mobile Software Development - Android practise
<activity android:name="EditTodoActivity" android:theme="@android:style/Theme.Holo.Light.Dialog"></activity>